Skip to content

Commit 6078d23

Browse files
obelaifatargos
authored andcommitted
repl: change var to let
PR-URL: #30428 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent d0d8913 commit 6078d23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/internal/repl/history.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ function setupHistory(repl, historyPath, ready) {
4141
}
4242
}
4343

44-
var timer = null;
45-
var writing = false;
46-
var pending = false;
44+
let timer = null;
45+
let writing = false;
46+
let pending = false;
4747
repl.pause();
4848
// History files are conventionally not readable by others:
4949
// https://github.com/nodejs/node/issues/3392

0 commit comments

Comments
 (0)