diff --git a/azurecontainerapps.ts b/azurecontainerapps.ts index 0ad0e50c..b02b314c 100644 --- a/azurecontainerapps.ts +++ b/azurecontainerapps.ts @@ -240,9 +240,9 @@ export class azurecontainerapps { location = await this.appHelper.getExistingContainerAppEnvironmentLocation(environmentName, this.resourceGroup); } // If no location was provided, use the default location for the Container App service - if (this.util.isNullOrEmpty(location)) { - location = await this.appHelper.getDefaultContainerAppLocation(); - } + // if (this.util.isNullOrEmpty(location)) { + // location = await this.appHelper.getDefaultContainerAppLocation(); + // } return location; } diff --git a/dist/index.js b/dist/index.js index 3ea270e9..d6c31dc3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -273,13 +273,12 @@ var azurecontainerapps = /** @class */ (function () { case 3: location = _a.sent(); _a.label = 4; - case 4: - if (!this.util.isNullOrEmpty(location)) return [3 /*break*/, 6]; - return [4 /*yield*/, this.appHelper.getDefaultContainerAppLocation()]; - case 5: - location = _a.sent(); - _a.label = 6; - case 6: return [2 /*return*/, location]; + case 4: + // If no location was provided, use the default location for the Container App service + // if (this.util.isNullOrEmpty(location)) { + // location = await this.appHelper.getDefaultContainerAppLocation(); + // } + return [2 /*return*/, location]; } }); });