Fix incorrect package check
This commit is contained in:
parent
80e5c435a3
commit
f2dc82e2b7
|
@ -56,7 +56,7 @@ function Test-WingetPackage {
|
||||||
[string] $ID
|
[string] $ID
|
||||||
)
|
)
|
||||||
|
|
||||||
-not (& { $null = winget list --accept-source-agreements -e --id $ID; $?; });
|
& { $null = winget list --accept-source-agreements -e --id $ID; $?; };
|
||||||
}
|
}
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|
Loading…
Reference in a new issue