diff --git a/lib/util.js b/lib/util.js index 9cd5e117192..0b1d25ba22a 100644 --- a/lib/util.js +++ b/lib/util.js @@ -1049,10 +1049,6 @@ function _exceptionWithHostPort(err, return ex; } -// process.versions needs a custom function as some values are lazy-evaluated. -process.versions[inspect.custom] = - () => exports.format(JSON.parse(JSON.stringify(process.versions))); - function callbackifyOnRejected(reason, cb) { // `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M). // Because `null` is a special error value in callbacks which means "no error