Wrong root module in REPLΒ #27575
Copy link
Copy link
Closed
Labels
moduleIssues and PRs related to the module subsystem.Issues and PRs related to the module subsystem.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
In the Node v12.0+ REPL
> module.id // [eval] instead of <repl>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
moduleIssues and PRs related to the module subsystem.Issues and PRs related to the module subsystem.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Activity
addaleax commentedon May 6, 2019
#27587 should resolve this.
jdalton commentedon May 6, 2019
Rock! Thank you @addaleax!
lib: restore `global.module` after --eval code is run
lib: restore `global.module` after --eval code is run