Skip to content

Commit 3069cdb

Browse files
committed
fixed setup-repo issue
1 parent fc8e6c2 commit 3069cdb

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-audit/src/messages/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import memoize from 'lodash/memoize';
2-
import { escapeRegExp, validateRegex } from '@contentstack/cli-utilities';
32

43
const errors = {};
54

@@ -47,7 +46,7 @@ const auditFixMsg = {
4746
AUDIT_FIX_CMD_DESCRIPTION: 'Perform audits and fix possible errors in the exported Contentstack data.',
4847
WF_FIX_MSG: 'Successfully removed the workflow {uid} named {name}.',
4948
ENTRY_MANDATORY_FIELD_FIX: `Removing the publish details from the entry with UID '{uid}' in Locale '{locale}'...`,
50-
ENTRY_SELECT_FIELD_FIX: `Adding the value '{value}' in the select field of entry UID '{uid}'...`
49+
ENTRY_SELECT_FIELD_FIX: `Adding the value '{value}' in the select field of entry UID '{uid}'...`,
5150
};
5251

5352
const messages: typeof errors &
@@ -76,7 +75,7 @@ function $t(msg: string, args: Record<string, string>): string {
7675
if (!msg) return '';
7776

7877
for (const key of Object.keys(args)) {
79-
const escapedKey = key.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
78+
const escapedKey = key.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
8079
const placeholder = `{${escapedKey}}`;
8180
msg = msg.split(placeholder).join(args[key]);
8281
}

pnpm-lock.yaml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)