Ignore expected errors

This commit is contained in:
Manuel Thalmann 2023-08-01 01:04:49 +02:00
parent a1616165ef
commit db4cc549f4

View file

@ -27,6 +27,6 @@ foreach ($nativeModule in @("PinnedItem")) {
}
}
if (-not (Get-Command 7z)) {
if (-not (Get-Command 7z -ErrorAction SilentlyContinue)) {
choco install -y 7zip.portable;
}