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(`
458
458
async function linker (specifier , referencingModule ) {
459
459
if (specifier === ' foo' ) {
460
460
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 });
465
465
466
466
// Using `contextifiedObject` instead of `referencingModule.context`
467
467
// here would work as well.
@@ -686,7 +686,7 @@ const module = new vm.SourceTextModule(
686
686
meta.prop = {};
687
687
}
688
688
});
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.
690
690
await module.link(() => {});
691
691
await module.evaluate();
692
692
You can’t perform that action at this time.
0 commit comments