We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 342be7e commit 64180bcCopy full SHA for 64180bc
src/PSAppDeployToolkit.Tools/PSScriptAnalyzer/Measure-ADTCompatibility.psm1
@@ -1876,7 +1876,7 @@ function Measure-ADTCompatibility
1876
'AllowDeferCloseApps' = '-AllowDeferCloseProcesses' # Should inspect switch values here in case of -Switch:$false
1877
'CloseApps' = {
1878
$quoteChar = if ($boundParameters.CloseApps.Value.StringConstantType -eq 'DoubleQuoted') { '"' } else { "'" }
1879
- $closeProcesses = $boundParameters.CloseApps.Value.Value -split ',' | & {
+ $closeProcesses = $_.Trim('"').Trim("'") -split ',' | & {
1880
process
1881
{
1882
$name, $description = $_ -split '='
0 commit comments