Skip to content

Commit

Permalink
Add --debug
Browse files Browse the repository at this point in the history
  • Loading branch information
snehapar9 committed Nov 7, 2023
1 parent fd223cc commit 023d186
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4722,7 +4722,7 @@ var ContainerAppHelper = /** @class */ (function () {
_a.label = 1;
case 1:
_a.trys.push([1, 3, , 4]);
command_1 = "az containerapp create -n " + containerAppName + " -g " + resourceGroup + " --environment " + environment + " --output none";
command_1 = "az containerapp create -n " + containerAppName + " -g " + resourceGroup + " --environment " + environment + " --output none --debug";
optionalCmdArgs.forEach(function (val) {
command_1 += " " + val;
});
Expand Down Expand Up @@ -4785,7 +4785,7 @@ var ContainerAppHelper = /** @class */ (function () {
_a.label = 1;
case 1:
_a.trys.push([1, 3, , 4]);
command_2 = "az containerapp update -n " + containerAppName + " -g " + resourceGroup + " --output none";
command_2 = "az containerapp update -n " + containerAppName + " -g " + resourceGroup + " --output none --debug";
optionalCmdArgs.forEach(function (val) {
command_2 += " " + val;
});
Expand Down Expand Up @@ -4821,7 +4821,7 @@ var ContainerAppHelper = /** @class */ (function () {
_a.label = 1;
case 1:
_a.trys.push([1, 3, , 4]);
command_3 = "az containerapp up -n " + containerAppName + " -g " + resourceGroup;
command_3 = "az containerapp up -n " + containerAppName + " -g " + resourceGroup + " --debug";
optionalCmdArgs.forEach(function (val) {
command_3 += " " + val;
});
Expand Down
6 changes: 3 additions & 3 deletions src/ContainerAppHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class ContainerAppHelper {
optionalCmdArgs: string[]) {
toolHelper.writeDebug(`Attempting to create Container App with name "${containerAppName}" in resource group "${resourceGroup}"`);
try {
let command = `az containerapp create -n ${containerAppName} -g ${resourceGroup} --environment ${environment} --output none`;
let command = `az containerapp create -n ${containerAppName} -g ${resourceGroup} --environment ${environment} --output none --debug`;
optionalCmdArgs.forEach(function (val: string) {
command += ` ${val}`;
});
Expand Down Expand Up @@ -75,7 +75,7 @@ export class ContainerAppHelper {
optionalCmdArgs: string[]) {
toolHelper.writeDebug(`Attempting to update Container App with name "${containerAppName}" in resource group "${resourceGroup}" `);
try {
let command = `az containerapp update -n ${containerAppName} -g ${resourceGroup} --output none`;
let command = `az containerapp update -n ${containerAppName} -g ${resourceGroup} --output none --debug`;
optionalCmdArgs.forEach(function (val: string) {
command += ` ${val}`;
});
Expand Down Expand Up @@ -103,7 +103,7 @@ export class ContainerAppHelper {
targetPort?: string) {
toolHelper.writeDebug(`Attempting to update Container App with name "${containerAppName}" in resource group "${resourceGroup}"`);
try {
let command = `az containerapp up -n ${containerAppName} -g ${resourceGroup}`;
let command = `az containerapp up -n ${containerAppName} -g ${resourceGroup} --debug`;
optionalCmdArgs.forEach(function (val: string) {
command += ` ${val}`;
});
Expand Down

0 comments on commit 023d186

Please sign in to comment.