Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1050 from contentstack/development
Browse files Browse the repository at this point in the history
Merge Development to Staging
netrajpatel authored Sep 21, 2023
2 parents efce1d3 + 491a8e0 commit 49cc9be
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/contentstack-import/package.json
Original file line number Diff line number Diff line change
@@ -95,4 +95,4 @@
}
},
"repository": "https://github.com/contentstack/cli"
}
}
3 changes: 1 addition & 2 deletions packages/contentstack-import/src/utils/asset-helper.ts
Original file line number Diff line number Diff line change
@@ -205,8 +205,7 @@ export const lookupAssets = function (
jsonRteData.children.forEach((element: any) => {
if (element.type) {
switch (element.type) {
case 'a':
case 'p': {
default: {
if (element.children && element.children.length > 0) {
gatherJsonRteAssetIds(element);
}
4 changes: 1 addition & 3 deletions packages/contentstack-import/src/utils/entries-helper.ts
Original file line number Diff line number Diff line change
@@ -21,9 +21,7 @@ export const lookupEntries = function (data: any, mappedUids: Record<string, any
jsonRteData.children.forEach((element: any) => {
if (element.type) {
switch (element.type) {
case 'a':
case 'span':
case 'p': {
default: {
if (element.children && element.children.length > 0) {
gatherJsonRteEntryIds(element);
}
2 changes: 1 addition & 1 deletion packages/contentstack-seed/package.json
Original file line number Diff line number Diff line change
@@ -73,4 +73,4 @@
"version": "oclif readme && git add README.md",
"clean": "rm -rf ./node_modules tsconfig.build.tsbuildinfo"
}
}
}

0 comments on commit 49cc9be

Please sign in to comment.