Ignore expected errors
This commit is contained in:
parent
3667e3e69c
commit
8cda3ea272
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue