Skip to content

Commit

Permalink
Replace az --version with az version (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoChilia authored May 27, 2024
1 parent cb503d8 commit 5b1f5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cli/AzureCliLogin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5b1f5e2

Please sign in to comment.