Skip to content

Commit 2844cc0

Browse files
Trottrvagg
authored andcommitted
repl: remove variable redeclaration
`match` and `filter` are declared twice with `var` in `repl.js`. Declare the variables only once. PR-URL: #4977 Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 612ce66 commit 2844cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/repl.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ REPLServer.prototype.complete = function(line, callback){
655655
// list of completion lists, one for each inheritance "level"
656656
varcompletionGroups=[];
657657

658-
varcompleteOn,match,filter,i,group,c;
658+
varcompleteOn,i,group,c;
659659

660660
// REPL commands (e.g. ".break").
661661
varmatch=null;

0 commit comments

Comments
(0)