Skip to content

Commit

Permalink
repl: change var to let
Browse files Browse the repository at this point in the history
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 addaleax committed Nov 30, 2019
1 parent 44f28ea commit 4e5818a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/internal/repl/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e5818a

Please sign in to comment.