mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-05-08 08:39:41 -05:00
FF-1985: Fixed matching in file name matches
This commit is contained in:
@@ -34,7 +34,7 @@ public class FileNameMatches: Node
|
|||||||
public override int Execute(NodeParameters args)
|
public override int Execute(NodeParameters args)
|
||||||
{
|
{
|
||||||
var value = args.ReplaceVariables(Value, stripMissing: true);
|
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)
|
if (matches)
|
||||||
{
|
{
|
||||||
args.Logger?.ILog("Matches");
|
args.Logger?.ILog("Matches");
|
||||||
|
|||||||
Reference in New Issue
Block a user