Fix incorrect package check
This commit is contained in:
parent
834883b5de
commit
64fe00e42f
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,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