Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[windows] actually suppress output of "az devops login"
"az devops login" is used for installing keyring (happens on first
invocation), unfortunately Write-Host was used instead of Write-Output
and output was erroneous
  • Loading branch information
ilia-shipitsin committed Oct 6, 2023
commit 676457e22e31a599073d34039352c7d89d31f941
2 changes: 1 addition & 1 deletion images/win/scripts/Installers/Install-AzureDevOpsCli.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Write-Host "Warmup 'az-devops'"
}

# calling az devops login to force it to install `keyring`. Login will actually fail, redirecting error to null
Write-Host 'fake token' | az devops login | Out-Null
Write-Output 'fake token' | az devops login | Out-Null
# calling az devops logout to be sure no credentials remain.
az devops logout | out-null

Expand Down