Skip to content

Commit

Permalink
Re-trigger pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
snehapar9 committed Nov 12, 2023
1 parent e700193 commit 765a9e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion azurecontainerapps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class azurecontainerapps {
*/
private static async setupAzureCli() {
// Set the Azure CLI to install missing extensions
await this.util.installAzureCliExtension();
// await this.util.installAzureCliExtension();
}

/**
Expand Down
12 changes: 2 additions & 10 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,7 @@ var azurecontainerapps = /** @class */ (function () {
azurecontainerapps.setupAzureCli = function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
// Set the Azure CLI to install missing extensions
return [4 /*yield*/, this.util.installAzureCliExtension()];
case 1:
// Set the Azure CLI to install missing extensions
_a.sent();
return [2 /*return*/];
}
return [2 /*return*/];
});
});
};
Expand Down Expand Up @@ -5002,7 +4994,7 @@ var ContainerAppHelper = /** @class */ (function () {
_a.label = 1;
case 1:
_a.trys.push([1, 3, , 4]);
command = "az containerapp env show -n " + containerAppEnvironment + " -g " + resourceGroup + " -o none";
command = "az containerapp env show -g " + resourceGroup + " -n " + containerAppEnvironment + " -o none";
return [4 /*yield*/, util.execute(command)];
case 2:
executionResult = _a.sent();
Expand Down
2 changes: 1 addition & 1 deletion src/ContainerAppHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class ContainerAppHelper {
public async doesContainerAppEnvironmentExist(containerAppEnvironment: string, resourceGroup: string): Promise<boolean> {
toolHelper.writeDebug(`Attempting to determine if Container App Environment with name "${containerAppEnvironment}" exists in resource group "${resourceGroup}"`);
try {
let command = `az containerapp env show -n ${containerAppEnvironment} -g ${resourceGroup} -o none`;
let command = `az containerapp env show -g ${resourceGroup} -n ${containerAppEnvironment} -o none`;
let executionResult = await util.execute(command);
return executionResult.exitCode === 0;
} catch (err) {
Expand Down

0 comments on commit 765a9e9

Please sign in to comment.