Skip to content

Commit

Permalink
readline: Remove XXX and output debuglog
Browse files Browse the repository at this point in the history
Remove a comment that has a word 'XXX'.
And add a line to output debuglog of error.

PR-URL: #4690
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
kohei-takata authored and Myles Borins committed Feb 15, 2016
1 parent 9d4a226 commit 4fbcb47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/readline.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -375,7 +376,7 @@ Interface.prototype._tabComplete = function() {
self.resume();

if (err) {
// XXX Log it somewhere?
debug('tab completion error %j', err);
return;
}

Expand Down

0 comments on commit 4fbcb47

Please sign in to comment.