Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repl: do not save history for non-terminal repl
When running in non-TTY mode - the `repl.history` is `undefined` and is not actually populated. Saving it will result in a crashes of subsequent repl runs. Fix: #1574 PR-URL: #1575 Reviewed-By: Chris Dickinson <[email protected]>
- Loading branch information