mirror of
https://github.com/azure/login.git
synced 2026-03-13 18:17:09 -04:00
add main.js
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user