Fix incorrect package check
This commit is contained in:
parent
a86b1b1069
commit
32daa81086
|
@ -56,7 +56,7 @@ function Test-WingetPackage {
|
|||
[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