Skip to content

Commit 4fbcb47

Browse files
kohei-takataMyles Borins
authored and
Myles Borins
committed
readline: Remove XXX and output debuglog
Remove a comment that has a word 'XXX'. And add a line to output debuglog of error. PR-URL: #4690 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 9d4a226 commit 4fbcb47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/readline.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
const kHistorySize = 30;
1010

1111
const util = require('util');
12+
const debug = util.debuglog('readline');
1213
const internalUtil = require('internal/util');
1314
const inherits = util.inherits;
1415
const Buffer = require('buffer').Buffer;
@@ -375,7 +376,7 @@ Interface.prototype._tabComplete = function() {
375376
self.resume();
376377

377378
if (err) {
378-
// XXX Log it somewhere?
379+
debug('tab completion error %j', err);
379380
return;
380381
}
381382

0 commit comments

Comments
 (0)