Update PatternReplacer.cs

This commit is contained in:
John Andrews
2024-11-13 19:31:16 +13:00
parent 84b7d4a505
commit 984ec508f0

View File

@@ -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");