Fix incorrect package check

This commit is contained in:
Manuel Thalmann 2024-08-07 23:17:07 +02:00
parent 834883b5de
commit 64fe00e42f

View file

@ -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; $?; };
}
<#