mirror of
https://github.com/azure/login.git
synced 2026-03-13 18:17:09 -04: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:
committed by
GitHub
parent
e486cf5b9b
commit
fb7f28b20f
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user