Fix incorrect package check

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

View file

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