diff options
Diffstat (limited to 'lib/internal/repl')
-rw-r--r-- | lib/internal/repl/history.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/internal/repl/history.js b/lib/internal/repl/history.js index 5d90b40e00..1af974e83e 100644 --- a/lib/internal/repl/history.js +++ b/lib/internal/repl/history.js @@ -41,9 +41,9 @@ function setupHistory(repl, historyPath, ready) { } } - var timer = null; - var writing = false; - var pending = false; + let timer = null; + let writing = false; + let pending = false; repl.pause(); // History files are conventionally not readable by others: // https://github.com/nodejs/node/issues/3392 |