From c081a9217414acd6c23950279c8b2ea845ae6fb5 Mon Sep 17 00:00:00 2001 From: John Andrews Date: Sat, 21 Dec 2024 08:58:38 +1300 Subject: [PATCH] FF-1984: Fixed issue with file name matches not replacing variables --- BasicNodes/File/FileNameMatches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasicNodes/File/FileNameMatches.cs b/BasicNodes/File/FileNameMatches.cs index c3df7b18..795a4570 100644 --- a/BasicNodes/File/FileNameMatches.cs +++ b/BasicNodes/File/FileNameMatches.cs @@ -34,7 +34,7 @@ public class FileNameMatches: Node public override int Execute(NodeParameters args) { var value = args.ReplaceVariables(Value, stripMissing: true); - var matches = args.StringHelper.Matches(args.LibraryFileName, Value); + var matches = args.StringHelper.Matches(args.LibraryFileName, value); if (matches) { args.Logger?.ILog("Matches");