Skip to content

Commit cc84dbf

Browse files
obelaifaMylesBorins
authored andcommitted
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>
1 parent fdfcf68 commit cc84dbf

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)