File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -458,10 +458,10 @@ const bar = new vm.SourceTextModule(`
458458async function linker (specifier , referencingModule ) {
459459 if (specifier === ' foo' ) {
460460 return new vm.SourceTextModule (`
461- // The "secret" variable refers to the global variable we added to
462- // "contextifiedObject" when creating the context.
463- export default secret;
464- ` , { context: referencingModule .context });
461+ // The "secret" variable refers to the global variable we added to
462+ // "contextifiedObject" when creating the context.
463+ export default secret;
464+ ` , { context: referencingModule .context });
465465
466466 // Using `contextifiedObject` instead of `referencingModule.context`
467467 // here would work as well.
@@ -686,7 +686,7 @@ const module = new vm.SourceTextModule(
686686 meta.prop = {};
687687 }
688688 });
689- // Since module has no dependencies, the linker function will never be called.
689+ // Since module has no dependencies, the linker function will never be called.
690690await module.link(() => {});
691691await module.evaluate();
692692
You can’t perform that action at this time.
0 commit comments