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 (-not$PSBoundParameters.ContainsKey("Generator") -and$Parameters.ContainsKey("Generator")) {
72
79
$Generator=$Parameters["Generator"]
73
80
$null=$Parameters.Remove("Generator")
74
81
}
75
-
Write-Debug"Invoking $Generator generator for $Source with @{$($Parameters.Keys.ForEach{ $_ } -join', ')}"
82
+
Write-Debug"Invoking $Generator generator for $($ParseResults.Path) ($Path) with @{$($Parameters.Keys.ForEach{ $_ } -join', ')}"
76
83
77
84
# To make things more usable, resolve paths to "boilerplate" or "template" files based on our BoilerplateDirectory (alias TemplateDirectory)
78
85
try {
@@ -112,21 +119,24 @@ function Invoke-ScriptGenerator {
112
119
continue
113
120
}
114
121
115
-
Write-Verbose"Generating $GeneratorCmd in $Source$(if($Parameters.Count){"`n with $($Parameters.GetEnumerator().ForEach{ $_.Key+' = '+ ($_.Value-join", ") } -join"`n and ")"})"
122
+
Write-Verbose"Generating $GeneratorCmd in $($ParseResults.Path)$(if($Parameters.Count){"`n with $($Parameters.GetEnumerator().ForEach{ $_.Key+' = '+ ($_.Value-join", ") } -join"`n and ")"})"
116
123
#! Process replacements from the bottom up, so the line numbers work
0 commit comments