You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If there's a Template parameter and it does not point at a file, check in the BoilerplateDirectory, and update it, if we find it.
88
89
if ($Parameters.Template-and-not (Test-Path$Parameters.Template)) {
89
90
if ($Template=Join-Path$BoilerplateDirectory$Parameters.Template|Where-Object { Test-Path$_ }) {
90
91
$Parameters.Template=$Template
91
92
}
92
93
}
94
+
Write-Debug"Template = $($Parameters.Template)"
93
95
}
94
96
} catch {
95
97
Write-Debug"Could not resolve the Boilerplate/Template"
@@ -110,7 +112,7 @@ function Invoke-ScriptGenerator {
110
112
continue
111
113
}
112
114
113
-
Write-Verbose"Generating $GeneratorCmd in $Source"
115
+
Write-Verbose"Generating $GeneratorCmd in $Source$(if($Parameters.Count){"`n with $($Parameters.GetEnumerator().ForEach{ $_.Key+' = '+ ($_.Value-join", ") } -join"`n and ")"})"
114
116
#! Process replacements from the bottom up, so the line numbers work
0 commit comments