fix: resolve Azure CLI on Windows by using az.cmd (#9215)

Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2026-05-14 13:25:50 -04:00
committed by GitHub
parent 44b1e74bd6
commit 6b47e012f7
+2 -2
View File
@@ -127,8 +127,8 @@ impl AzureAuth {
} }
} }
// Get new token using Azure CLI credential let az = if cfg!(windows) { "az.cmd" } else { "az" };
let output = tokio::process::Command::new("az") let output = tokio::process::Command::new(az)
.args([ .args([
"account", "account",
"get-access-token", "get-access-token",