mirror of
https://github.com/azure/login.git
synced 2026-06-05 22:47:06 +00:00
Improved debug output (#272)
* Improved debug output * Improved debig output in JS file Change in JS file corresponding to the one in the TS file Co-authored-by: Balaga Gayatri <balaga-gayatri@github.com>
This commit is contained in:
parent
e486cf5b9b
commit
fb7f28b20f
2 changed files with 3 additions and 3 deletions
|
|
@ -67,7 +67,7 @@ function main() {
|
|||
core.exportVariable('AZURE_HTTP_USER_AGENT', userAgentString);
|
||||
core.exportVariable('AZUREPS_HOST_ENVIRONMENT', azurePSHostEnv);
|
||||
azPath = yield io.which("az", true);
|
||||
core.debug(`az cli version used: ${azPath}`);
|
||||
core.debug(`az cli path: ${azPath}`);
|
||||
let azureSupportedCloudName = new Set([
|
||||
"azureusgovernment",
|
||||
"azurechinacloud",
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ async function main() {
|
|||
core.exportVariable('AZUREPS_HOST_ENVIRONMENT', azurePSHostEnv);
|
||||
|
||||
azPath = await io.which("az", true);
|
||||
core.debug(`az cli version used: ${azPath}`);
|
||||
core.debug(`az cli path: ${azPath}`);
|
||||
let azureSupportedCloudName = new Set([
|
||||
"azureusgovernment",
|
||||
"azurechinacloud",
|
||||
|
|
@ -236,4 +236,4 @@ async function jwtParser(federatedToken: string) {
|
|||
let decodedPayload = JSON.parse(bufferObj.toString("utf8"));
|
||||
return [decodedPayload['iss'], decodedPayload['sub']];
|
||||
}
|
||||
main();
|
||||
main();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue