Skip to content

Commit 1e5e9f0

Browse files
committed
Fix formatting
1 parent 48afad9 commit 1e5e9f0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/PSAppDeployToolkit.Tools/PSScriptAnalyzer/Measure-ADTCompatibility.psm1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)