File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/PSAppDeployToolkit.Tools/PSScriptAnalyzer Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1876,7 +1876,9 @@ function Measure-ADTCompatibility
18761876 ' AllowDeferCloseApps' = ' -AllowDeferCloseProcesses' # Should inspect switch values here in case of -Switch:$false
18771877 ' CloseApps' = {
18781878 $quoteChar = if ($boundParameters.CloseApps.Value.StringConstantType -eq ' DoubleQuoted' ) { ' "' } else { " '" }
1879- $closeProcesses = $boundParameters.CloseApps.Value.Value -split ' ,' | & { process {
1879+ $closeProcesses = $boundParameters.CloseApps.Value.Value -split ' ,' | & {
1880+ process
1881+ {
18801882 $name , $description = $_ -split ' ='
18811883 if ($description )
18821884 {
@@ -1886,7 +1888,8 @@ function Measure-ADTCompatibility
18861888 {
18871889 " $quoteChar $ ( $name ) $quoteChar "
18881890 }
1889- }} -join ' , '
1891+ }
1892+ } -join ' , '
18901893 " -CloseProcesses $closeProcesses "
18911894 }
18921895 }
You can’t perform that action at this time.
0 commit comments