mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
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: https://github.com/nodejs/node/pull/4690 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
9d4a226dad
commit
4fbcb47fe9
1 file changed
+2
-1
+2
-1
@@ -9,6 +9,7 @@
|
||||
const kHistorySize = 30;
|
||||
|
||||
const util = require('util');
|
||||
const debug = util.debuglog('readline');
|
||||
const internalUtil = require('internal/util');
|
||||
const inherits = util.inherits;
|
||||
const Buffer = require('buffer').Buffer;
|
||||
@@ -375,7 +376,7 @@ Interface.prototype._tabComplete = function() {
|
||||
self.resume();
|
||||
|
||||
if (err) {
|
||||
// XXX Log it somewhere?
|
||||
debug('tab completion error %j', err);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user