diff --git a/lib/util.js b/lib/util.js index fea6471de6260b..ea6a78334a09ba 100644 --- a/lib/util.js +++ b/lib/util.js @@ -1053,7 +1053,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;