We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31874a7 commit d411dd0Copy full SHA for d411dd0
lib/readline.js
@@ -449,8 +449,8 @@ Interface.prototype._tabComplete = function(lastKeypressWasTab) {
449
}
450
451
// If there is a common prefix to all matches, then apply that portion.
452
- const f = completions.filter(function(e) { if (e) return e; });
453
- const prefix = commonPrefix(f);
+ var f = completions.filter(function(e) { if (e) return e; });
+ var prefix = commonPrefix(f);
454
if (prefix.length > completeOn.length) {
455
self._insertString(prefix.slice(completeOn.length));
456
0 commit comments