Skip to content

repl: do not save history for non-terminal repl

Rodrigo Muino Tomonari requested to merge github/fork/indutny/fix/gh-1574 into master

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: https://github.com/iojs/io.js/issues/1574

Merge request reports

Loading