mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
repl: change var to let
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
fdfcf68360
commit
cc84dbfe7b
1 file changed
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user