* win_msi #20315 - shows changed even when msi not found * make brace placement consistent
This commit is contained in:
parent
467fde5644
commit
46503c6d1f
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ if (($creates -ne $null) -and ($state -ne "absent") -and (Test-Path $creates)) {
|
||||||
Exit-Json $result
|
Exit-Json $result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (-not (Test-Path $path)) {
|
||||||
|
Fail-Json $result "Cannot find $path."
|
||||||
|
}
|
||||||
|
|
||||||
$logfile = [IO.Path]::GetTempFileName()
|
$logfile = [IO.Path]::GetTempFileName()
|
||||||
if ($state -eq "absent") {
|
if ($state -eq "absent") {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue