repl: Default `useGlobal` to false in CLI REPL. · nodejs/node@7a7b8f7 · GitHub
Skip to content

Commit 7a7b8f7

Browse files
lanceFishrock123
authored andcommitted
repl: Default useGlobal to false in CLI REPL.
Documentation for REPL states that the default value of `useGlobal` is `false`. It makes no distinction between a REPL that is created programmatically, and the one a user is dropped into on the command line by executing `node` with no arguments. This change ensures that the CLI REPL uses a default value of `false`. Fixes: #5659 Ref: #6802 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> PR-URL: #5703
1 parent 4891001 commit 7a7b8f7

2 files changed

Lines changed: 86 additions & 1 deletion

File tree

lib/internal/repl.js

Lines changed: 1 addition & 1 deletion
Lines changed: 85 additions & 0 deletions

0 commit comments

Comments
 (0)