From 8ffbb3ef4bd33ef84a5f15ea27101cc0b39bc18f Mon Sep 17 00:00:00 2001 From: snehapar9 Date: Sun, 24 Sep 2023 15:54:46 -0700 Subject: [PATCH] Refactor and trigger pipeline --- dist/index.js | 2 +- src/Utility.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index dfeb15c4..5fc2f0cf 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5701,7 +5701,7 @@ var Utility = /** @class */ (function () { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, new Utility().executeAndthrowIfError('az', ["config", "set", "extension.use_dynamic_install=yes_without_prompt"])]; + case 0: return [4 /*yield*/, this.executeAndthrowIfError('az', ["config", "set", "extension.use_dynamic_install=yes_without_prompt"])]; case 1: _a.sent(); return [2 /*return*/]; diff --git a/src/Utility.ts b/src/Utility.ts index 3a6ee55a..95e7eede 100644 --- a/src/Utility.ts +++ b/src/Utility.ts @@ -48,7 +48,7 @@ export class Utility { * Azure Container Apps module being dynamically installed while it's still in preview. */ public async setAzureCliDynamicInstall() { - await new Utility().executeAndthrowIfError('az', [`config`, `set`, `extension.use_dynamic_install=yes_without_prompt`]); + await this.executeAndthrowIfError('az', [`config`, `set`, `extension.use_dynamic_install=yes_without_prompt`]); } /**