Skip to content

Commit a259f63

Browse files
committed
Update snapshots
1 parent ec41f8a commit a259f63

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,6 @@ function instantiateModule(id, source) {
590590
error: undefined,
591591
loaded: false,
592592
id,
593-
parents,
594-
children: [],
595593
namespaceObject: undefined
596594
};
597595
moduleCache[id] = module1;
@@ -646,13 +644,7 @@ function instantiateModule(id, source) {
646644
*/ // @ts-ignore
647645
function getOrInstantiateModuleFromParent(id, sourceModule) {
648646
const module1 = moduleCache[id];
649-
if (sourceModule.children.indexOf(id) === -1) {
650-
sourceModule.children.push(id);
651-
}
652647
if (module1) {
653-
if (module1.parents.indexOf(sourceModule.id) === -1) {
654-
module1.parents.push(sourceModule.id);
655-
}
656648
return module1;
657649
}
658650
return instantiateModule(id, {

0 commit comments

Comments
 (0)