Ignore expected errors

This commit is contained in:
Manuel Thalmann 2023-08-01 01:04:49 +02:00
parent 3667e3e69c
commit 8cda3ea272

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;
}