add main.js

This commit is contained in:
Arjun Gupta
2020-12-31 11:54:25 +05:30
parent 55dbf29278
commit 45f157e77d

View File

@@ -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) {