Skip to content
Permalink
Browse files

repl: change var to let

PR-URL: #30428
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
obelaifa authored and MylesBorins committed Nov 12, 2019
1 parent fdfcf68 commit cc84dbfe7b86fff7f6319c8d5aab9b8cd39ffad7
Showing with 3 additions and 3 deletions.
  1. +3 −3 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

0 comments on commit cc84dbf

Please sign in to comment.
You can’t perform that action at this time.