diff --git a/src/commands/app/deploy.js b/src/commands/app/deploy.js index a3ce10b2..c9ee40b3 100644 --- a/src/commands/app/deploy.js +++ b/src/commands/app/deploy.js @@ -127,7 +127,7 @@ class Deploy extends BuildCommand { // only send logs in case of web-assets deployment await sendAuditLogs(cliDetails.accessToken, assetDeployedLogEvent, cliDetails.env) } catch (error) { - this.log(chalk.red(chalk.bold('Error: Audit Log Service Error: Failed to send audit log event for deployment.'))) + this.warn('Error: Audit Log Service Error: Failed to send audit log event for deployment.') } } } diff --git a/src/commands/app/undeploy.js b/src/commands/app/undeploy.js index fc80f4fc..bf0503b2 100644 --- a/src/commands/app/undeploy.js +++ b/src/commands/app/undeploy.js @@ -42,7 +42,6 @@ class Undeploy extends BaseCommand { libConsoleCLI = await this.getLibConsoleCLI() } - if ( (!flags.unpublish && !flags['web-assets'] && !flags.actions) ) {