We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d19a17c + 9ec4813 commit 988f750Copy full SHA for 988f750
packages/contentstack-import/src/utils/entries-helper.ts
@@ -10,6 +10,7 @@ import * as fileHelper from './file-helper';
10
import { escapeRegExp, validateRegex } from '@contentstack/cli-utilities';
11
12
import { EntryJsonRTEFieldDataType } from '../types/entries';
13
+import { log } from './log';
14
15
// update references in entry object
16
export const lookupEntries = function (
@@ -212,6 +213,8 @@ export const lookupEntries = function (
212
213
if (status === 'safe') {
214
entry = entry.replace(uidRegex, escapedMappedUid);
215
mapped.push(uid);
216
+ } else {
217
+ log(`Skipping the entry uid ${uid} since the regex is not valid`, 'warn');
218
}
219
} else {
220
unmapped.push(uid);
0 commit comments