readline: remove usage of require('util') · nodejs/node@2701f55 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 2701f55
authored and
committed
readline: remove usage of require('util')
Use `require('internal/util/inspect').inspect` instead of `require('util').inspect`. Refs: #26546PR-URL: #26818Reviewed-By: Yongsheng Zhang zyszys98@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: James M Snell jasnell@gmail.com Reviewed-By: Ruben Bridgewater ruben@bridgewater.de
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -32,7 +32,7 @@ const { | ||
32 | 32 | ERR_INVALID_OPT_VALUE |
33 | 33 | } = require('internal/errors').codes; |
34 | 34 | const { validateString } = require('internal/validators'); |
35 | -const { inspect } = require('util'); | |
35 | +const { inspect } = require('internal/util/inspect'); | |
36 | 36 | const { emitExperimentalWarning } = require('internal/util'); |
37 | 37 | const EventEmitter = require('events'); |
38 | 38 | const { |