From 984ec508f00a2bfaf622a75695b48b8de2544caa Mon Sep 17 00:00:00 2001 From: John Andrews Date: Wed, 13 Nov 2024 19:31:16 +1300 Subject: [PATCH] Update PatternReplacer.cs --- BasicNodes/File/PatternReplacer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasicNodes/File/PatternReplacer.cs b/BasicNodes/File/PatternReplacer.cs index 5305903b..6c5a6614 100644 --- a/BasicNodes/File/PatternReplacer.cs +++ b/BasicNodes/File/PatternReplacer.cs @@ -92,7 +92,7 @@ public class PatternReplacer : Node string updated = filename; foreach(var replacement in Replacements) { - var value = replacement.Value ?? string.Empty; + var value = args.ReplaceVariables(replacement.Value ?? string.Empty, stripMissing: true); if (value == "EMPTY") { args?.Logger?.ILog("Using an EMPTY replacement");