Skip to content

Commit

Permalink
readline: remove usage of require('util')
Browse files Browse the repository at this point in the history
Use `require('internal/util/inspect').inspect` instead of
`require('util').inspect`.

Refs: #26546

PR-URL: #26818
Reviewed-By: Yongsheng Zhang <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
dnlup authored and ZYSzys committed Mar 23, 2019
1 parent 7c80f18 commit 2701f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/readline.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const {
ERR_INVALID_OPT_VALUE
} = require('internal/errors').codes;
const { validateString } = require('internal/validators');
const { inspect } = require('util');
const { inspect } = require('internal/util/inspect');
const { emitExperimentalWarning } = require('internal/util');
const EventEmitter = require('events');
const {
Expand Down

0 comments on commit 2701f55

Please sign in to comment.