FF-1985: Fixed matching in file name matches

This commit is contained in:
John Andrews
2024-12-21 09:00:32 +13:00
parent c081a92174
commit 178ea17e74

View File

@@ -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(value, args.LibraryFileName);
if (matches)
{
args.Logger?.ILog("Matches");