Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repl: fix persistent history and env variable name
Issue #1575 did introduce a check for options.terminal but this variable wasn't able to get truthy, which in turn broke persistent history completely. This changes the variable to get truthy on true terminals. Additionally, the docs and the code did differ on which environment variable was used for history. This changes the code to use NODE_REPL_HISTORY_FILE. PR-URL: #1593 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
- Loading branch information