File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -485,8 +485,8 @@ function resolveAndLinkDependencies(module) {
485485 // The "secret" variable refers to the global variable we added to
486486 // "contextifiedObject" when creating the context.
487487 export default secret;
488- ` , { context: referencingModule .context });
489- moduleMap .set (specifier, linkedModule );
488+ ` , { context: module .context });
489+ moduleMap .set (specifier, requestedModule );
490490 // Resolve the dependencies of the new module as well.
491491 resolveAndLinkDependencies (requestedModule);
492492 }
@@ -566,8 +566,8 @@ const contextifiedObject = vm.createContext({
566566 // The "secret" variable refers to the global variable we added to
567567 // "contextifiedObject" when creating the context.
568568 export default secret;
569- ` , { context: referencingModule .context });
570- moduleMap .set (specifier, linkedModule );
569+ ` , { context: module .context });
570+ moduleMap .set (specifier, requestedModule );
571571 // Resolve the dependencies of the new module as well.
572572 resolveAndLinkDependencies (requestedModule);
573573 }
You can’t perform that action at this time.
0 commit comments