mirror of
https://github.com/azure/login.git
synced 2026-06-06 01:47:06 +00:00
add main.js
This commit is contained in:
parent
55dbf29278
commit
45f157e77d
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ function main() {
|
|||
if (!azureSupportedCloudName.has(environment)) {
|
||||
throw new Error("Unsupported value for environment is passed.The list of supported values for environment are ‘azureusgovernment', ‘azurechinacloud’, ‘azuregermancloud’, ‘azurecloud’ or ’azurestack’");
|
||||
}
|
||||
// TODO: refactor this into an Azure stack specific utility.
|
||||
// Attempting Az cli login
|
||||
if (environment == "azurestack") {
|
||||
if (!resourceManagerEndpointUrl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue