We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9cfaa3 commit 6b004e0Copy full SHA for 6b004e0
lib/readline.js
@@ -31,7 +31,7 @@ const {
31
ERR_INVALID_CURSOR_POS,
32
ERR_INVALID_OPT_VALUE
33
} = require('internal/errors').codes;
34
-const { debug, inherits } = require('util');
+const { inspect, inherits } = require('util');
35
const { validateString } = require('internal/validators');
36
const { emitExperimentalWarning } = require('internal/util');
37
const { Buffer } = require('buffer');
@@ -483,7 +483,7 @@ Interface.prototype._tabComplete = function(lastKeypressWasTab) {
483
self.resume();
484
485
if (err) {
486
- debug('tab completion error %j', err);
+ self._writeToOutput(`tab completion error ${inspect(err)}`);
487
return;
488
}
489
0 commit comments