Fix code style in Install-AzureCli.ps1 (#8480)
Following https://github.com/actions/runner-images/commit/0795b9ed8be55c2c08f33647e103f70dd18d9df6
This commit is contained in:
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