Skip to content

Commit f54fd8a

Browse files
authored
Merge pull request #1416 from contentstack/fix/DX-525
DX - 525 - fixed the generating tree structure for the assets during branches merge
2 parents 16b5e12 + 077ed4d commit f54fd8a

File tree

2 files changed

+50
-62
lines changed

2 files changed

+50
-62
lines changed

package-lock.json

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

packages/contentstack-branches/src/utils/asset-folder-create-script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function assetFolderCreateScript(contentType) {
6666
if (branch === element.parent_uid) {
6767
let childUid = element.uid;
6868
tree[branch][childUid] = {};
69-
return findBranches(tree[branch], [childUid], coll);
69+
findBranches(tree[branch], [childUid], coll);
7070
}
7171
}
7272
});

0 commit comments

Comments
 (0)