From d3eb378749911ca2909ab264dd4b5945213e23f5 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Wed, 27 Mar 2024 16:48:05 +0530 Subject: [PATCH] removed the filter option from tables of workflow and extension and resolved content not overwritten in import backup folder --- packages/contentstack-audit/src/audit-base-command.ts | 2 +- packages/contentstack-audit/src/modules/extensions.ts | 1 + packages/contentstack-audit/src/modules/workflows.ts | 7 ++++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/contentstack-audit/src/audit-base-command.ts b/packages/contentstack-audit/src/audit-base-command.ts index 4fefdf67fb..a4eaefc6aa 100644 --- a/packages/contentstack-audit/src/audit-base-command.ts +++ b/packages/contentstack-audit/src/audit-base-command.ts @@ -329,7 +329,7 @@ export abstract class AuditBaseCommand extends BaseCommand) { if ( this.fix && - !(this.config.flags['copy-dir'] || this.config.flags['external-config']?.skipConfirm) && - (this.config.flags.yes || (await ux.confirm(commonMsg.FIX_CONFIRMATION))) + (this.config.flags['copy-dir'] || + this.config.flags['external-config']?.skipConfirm || + this.config.flags.yes || + (await ux.confirm(commonMsg.FIX_CONFIRMATION))) ) { writeFileSync( join(this.folderPath, this.config.moduleConfig[this.moduleName].fileName),