diff --git a/lib/util.js b/lib/util.js index 6238ff44bf6e15..99c7e5e9e056c5 100644 --- a/lib/util.js +++ b/lib/util.js @@ -1054,7 +1054,7 @@ exports._exceptionWithHostPort = function(err, // process.versions needs a custom function as some values are lazy-evaluated. process.versions[exports.inspect.custom] = - (depth) => exports.format(JSON.parse(JSON.stringify(process.versions))); + () => exports.format(JSON.parse(JSON.stringify(process.versions))); exports.promisify = internalUtil.promisify;