win_msi:Fixing Issue #20315 - shows changed even when msi not found (#20358)

* win_msi #20315 - shows changed even when msi not found

* make brace placement consistent
pull/21036/head
JimFicarra 8 years ago committed by John R Barker
parent 467fde5644
commit 46503c6d1f

@ -37,6 +37,10 @@ if (($creates -ne $null) -and ($state -ne "absent") -and (Test-Path $creates)) {
Exit-Json $result
}
if (-not (Test-Path $path)) {
Fail-Json $result "Cannot find $path."
}
$logfile = [IO.Path]::GetTempFileName()
if ($state -eq "absent") {

Loading…
Cancel
Save