diff --git a/package-lock.json b/package-lock.json index 65ae62eb89..4b904aeb05 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23525,7 +23525,7 @@ "version": "1.13.0", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "~1.3.4", + "@contentstack/cli-audit": "~1.3.5", "@contentstack/cli-auth": "~1.3.17", "@contentstack/cli-cm-bootstrap": "~1.7.1", "@contentstack/cli-cm-branches": "~1.0.22", @@ -23590,7 +23590,7 @@ }, "packages/contentstack-audit": { "name": "@contentstack/cli-audit", - "version": "1.3.4", + "version": "1.3.5", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.16", @@ -25273,7 +25273,7 @@ "version": "1.13.2", "license": "MIT", "dependencies": { - "@contentstack/cli-audit": "^1.3.3", + "@contentstack/cli-audit": "^1.3.5", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.5.11", "@contentstack/management": "~1.13.0", diff --git a/packages/contentstack-audit/package.json b/packages/contentstack-audit/package.json index d7134c1f19..5784959b8d 100644 --- a/packages/contentstack-audit/package.json +++ b/packages/contentstack-audit/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-audit", - "version": "1.3.4", + "version": "1.3.5", "description": "Contentstack audit plugin", "author": "Contentstack CLI", "homepage": "https://github.com/contentstack/cli", diff --git a/packages/contentstack-audit/src/modules/content-types.ts b/packages/contentstack-audit/src/modules/content-types.ts index 6ef992fb53..c40500fc63 100644 --- a/packages/contentstack-audit/src/modules/content-types.ts +++ b/packages/contentstack-audit/src/modules/content-types.ts @@ -60,7 +60,8 @@ export default class ContentType { this.inMemoryFix = returnFixSchema; if (!existsSync(this.folderPath)) { - this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), 'warn'); + this.log(`Skipping ${this.moduleName} audit`, 'warn'); + this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), { color: 'yellow' }); return returnFixSchema ? [] : {}; } diff --git a/packages/contentstack-audit/src/modules/entries.ts b/packages/contentstack-audit/src/modules/entries.ts index 4397b3e01d..7ca286ed28 100644 --- a/packages/contentstack-audit/src/modules/entries.ts +++ b/packages/contentstack-audit/src/modules/entries.ts @@ -68,7 +68,8 @@ export default class Entries { */ async run() { if (!existsSync(this.folderPath)) { - this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), 'warn'); + this.log(`Skipping ${this.moduleName} audit`, 'warn'); + this.log($t(auditMsg.NOT_VALID_PATH, { path: this.folderPath }), { color: 'yellow' }); return {}; } diff --git a/packages/contentstack-import/package.json b/packages/contentstack-import/package.json index 22a6d0dee9..ed3816b32e 100644 --- a/packages/contentstack-import/package.json +++ b/packages/contentstack-import/package.json @@ -5,7 +5,7 @@ "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { - "@contentstack/cli-audit": "^1.3.3", + "@contentstack/cli-audit": "^1.3.5", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.5.11", "@contentstack/management": "~1.13.0", diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index 3cb16153d3..f29008f232 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -22,7 +22,7 @@ "prepack": "pnpm compile && oclif manifest && oclif readme" }, "dependencies": { - "@contentstack/cli-audit": "~1.3.4", + "@contentstack/cli-audit": "~1.3.5", "@contentstack/cli-auth": "~1.3.17", "@contentstack/cli-cm-bootstrap": "~1.7.1", "@contentstack/cli-cm-branches": "~1.0.22", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5dc9c63836..d0557f97b1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: packages/contentstack: specifiers: - '@contentstack/cli-audit': ~1.3.4 + '@contentstack/cli-audit': ~1.3.5 '@contentstack/cli-auth': ~1.3.17 '@contentstack/cli-cm-bootstrap': ~1.7.1 '@contentstack/cli-cm-branches': ~1.0.22 @@ -730,7 +730,7 @@ importers: packages/contentstack-import: specifiers: - '@contentstack/cli-audit': ^1.3.3 + '@contentstack/cli-audit': ^1.3.5 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.11 '@contentstack/management': ~1.13.0