mirror of
https://github.com/actions/runner-images.git
synced 2026-01-07 18:58:13 +08:00
committed by
GitHub
parent
6d730133bf
commit
cbe9acb6bc
@@ -28,8 +28,7 @@ Write-Host "Warmup 'az'"
|
||||
|
||||
$env:PATH = [Environment]::GetEnvironmentVariable('PATH', 'Machine')
|
||||
az --help | Out-Null
|
||||
if ($LASTEXITCODE -ne 0)
|
||||
{
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Command 'az --help' failed"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user