Skip to content

Commit

Permalink
Remove --debug
Browse files Browse the repository at this point in the history
  • Loading branch information
snehapar9 committed Nov 6, 2023
1 parent 3af7b4a commit 3157879
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 @@ -4725,7 +4725,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 --debug";
command_1 = "az containerapp create -n " + containerAppName + " -g " + resourceGroup + " --environment " + environment + " --output none";
optionalCmdArgs.forEach(function (val) {
command_1 += " " + val;
});
Expand Down Expand Up @@ -4760,7 +4760,7 @@ var ContainerAppHelper = /** @class */ (function () {
_a.label = 1;
case 1:
_a.trys.push([1, 3, , 4]);
command_2 = "az containerapp up -n " + containerAppName + " -g " + resourceGroup + " --source " + appSourcePath + " --environment " + environment + " --debug";
command_2 = "az containerapp up -n " + containerAppName + " -g " + resourceGroup + " --source " + appSourcePath + " --environment " + environment;
optionalCmdArgs.forEach(function (val) {
command_2 += " " + val;
});
Expand Down Expand Up @@ -4793,7 +4793,7 @@ var ContainerAppHelper = /** @class */ (function () {
_a.label = 1;
case 1:
_a.trys.push([1, 3, , 4]);
command = "az containerapp create -n " + containerAppName + " -g " + resourceGroup + " --yaml " + yamlConfigPath + " --output none --debug";
command = "az containerapp create -n " + containerAppName + " -g " + resourceGroup + " --yaml " + yamlConfigPath + " --output none";
return [4 /*yield*/, util.execute(command)];
case 2:
_a.sent();
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 --debug`;
let command = `az containerapp create -n ${containerAppName} -g ${resourceGroup} --environment ${environment} --output none`;
optionalCmdArgs.forEach(function (val: string) {
command += ` ${val}`;
});
Expand All @@ -59,7 +59,7 @@ export class ContainerAppHelper {
optionalCmdArgs: string[]) {
toolHelper.writeDebug(`Attempting to create Container App with name "${containerAppName}" in resource group "${resourceGroup}" based on the application source path "${appSourcePath}"`);
try {
let command = `az containerapp up -n ${containerAppName} -g ${resourceGroup} --source ${appSourcePath} --environment ${environment} --debug`;
let command = `az containerapp up -n ${containerAppName} -g ${resourceGroup} --source ${appSourcePath} --environment ${environment}`;
optionalCmdArgs.forEach(function (val: string) {
command += ` ${val}`;
});
Expand All @@ -82,7 +82,7 @@ export class ContainerAppHelper {
yamlConfigPath: string) {
toolHelper.writeDebug(`Attempting to create Container App with name "${containerAppName}" in resource group "${resourceGroup}" from provided YAML "${yamlConfigPath}"`);
try {
let command = `az containerapp create -n ${containerAppName} -g ${resourceGroup} --yaml ${yamlConfigPath} --output none --debug`;
let command = `az containerapp create -n ${containerAppName} -g ${resourceGroup} --yaml ${yamlConfigPath} --output none`;
await util.execute(command);
} catch (err) {
toolHelper.writeError(err.message);
Expand Down

0 comments on commit 3157879

Please sign in to comment.