From 63ca6d8e45024242729c7347b066d59179bc18bc Mon Sep 17 00:00:00 2001 From: shiyingchen Date: Mon, 27 May 2024 10:47:03 +0800 Subject: [PATCH] replace --version to version --- src/Cli/AzureCliLogin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cli/AzureCliLogin.ts b/src/Cli/AzureCliLogin.ts index ec557fe62..5db52b7c1 100644 --- a/src/Cli/AzureCliLogin.ts +++ b/src/Cli/AzureCliLogin.ts @@ -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();