Skip to content

Commit

Permalink
Uncomment cli installation
Browse files Browse the repository at this point in the history
  • Loading branch information
snehapar9 committed May 14, 2024
1 parent 6694744 commit e3c4f73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions azurecontainerapps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class azurecontainerapps {
this.validateSupportedScenarioArguments();

// Set up the Azure CLI to be used for this task
// await this.setupAzureCli();
await this.setupAzureCli();

// Set up the resources required to deploy a Container App
await this.setupResources();
Expand Down Expand Up @@ -209,7 +209,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
2 changes: 1 addition & 1 deletion src/Utility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class Utility {
* Sets the Azure CLI to install the containerapp extension.
*/
public async installAzureCliExtension() {
// await this.execute(`az extension add --name containerapp --upgrade`);
await this.execute(`az extension add --name containerapp --upgrade`);
}

/**
Expand Down

0 comments on commit e3c4f73

Please sign in to comment.