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 007cde0 commit 509f770Copy full SHA for 509f770
src/PSAppDeployToolkit.Tools/Public/Convert-ADTDeployment.ps1
@@ -331,10 +331,12 @@ function Convert-ADTDeployment
331
param ($ast)
332
$ast -is [System.Management.Automation.Language.CommandAst] -and $ast.GetCommandName() -eq 'Show-ADTInstallationWelcome'
333
}, $true)
334
- if ($saiwAst) {
+ if ($saiwAst)
335
+ {
336
$boundParameters = ($spBinder::BindCommand($saiwAst, $true)).BoundParameters
337
$closeProcesses = $null
- if ($boundParameters.TryGetValue('CloseProcesses', [ref]$closeProcesses)) {
338
+ if ($boundParameters.TryGetValue('CloseProcesses', [ref]$closeProcesses))
339
340
if ($closeProcesses.Value | Get-Member -Name VariablePath)
341
{
342
$assignmentAst = $inputScriptAst.Find({
0 commit comments