Fix incorrect package check

This commit is contained in:
Manuel Thalmann 2024-08-07 23:17:07 +02:00
parent c33ad5c306
commit 32dd1ac1dc

View file

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