Replace az --version with az version (#450)

This commit is contained in:
Shiying Chen
2024-05-27 14:55:09 +08:00
committed by GitHub
parent cb503d892a
commit 5b1f5e2d92

View File

@@ -28,7 +28,7 @@ export class AzureCliLogin {
}
};
await this.executeAzCliCommand(["--version"], true, execOptions);
await this.executeAzCliCommand(["version"], true, execOptions);
core.debug(`Azure CLI version used:\n${output}`);
this.setAzurestackEnvIfNecessary();