Ignore expected errors
This commit is contained in:
parent
a1616165ef
commit
db4cc549f4
1 changed files with 1 additions and 1 deletions
|
@ -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