зеркало из https://github.com/Azure/cli.git
throw error
This commit is contained in:
Родитель
7ac6721584
Коммит
3903181ba0
|
@ -32,8 +32,7 @@ export const run = async () => {
|
|||
if (!stderr) {
|
||||
azcliversion = JSON.parse(stdout)["azure-cli"]
|
||||
} else {
|
||||
console.log('Failed to fetch az cli version from agent. Reverting back to latest.')
|
||||
azcliversion = 'latest'
|
||||
throw stderr
|
||||
}
|
||||
} catch (err) {
|
||||
console.log('Failed to fetch az cli version from agent. Reverting back to latest.')
|
||||
|
|
Загрузка…
Ссылка в новой задаче