diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-09-13 19:56:07 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-10-02 22:43:10 +0200 |
commit | 1a1fe53e3dbd0042807b75caac94dcae0abe4dc1 (patch) | |
tree | 383a90e60bc0b22e2e250ca5f39e08e212df583e /lib/util.js | |
parent | ac7450a09a4c167cd43c14d7c88721d22f077529 (diff) | |
download | node-new-1a1fe53e3dbd0042807b75caac94dcae0abe4dc1.tar.gz |
util: change %o depth default
Since the default for depth is changed to `20` it is logical
to change the %o default as well. It will now always use the
default depth.
PR-URL: https://github.com/nodejs/node/pull/17907
Refs: https://github.com/nodejs/node/issues/12693
PR-URL: https://github.com/nodejs/node/pull/22846
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'lib/util.js')
-rw-r--r-- | lib/util.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/util.js b/lib/util.js index 8eaf62f0ab..f2eeefde25 100644 --- a/lib/util.js +++ b/lib/util.js @@ -113,8 +113,7 @@ function formatWithOptions(inspectOptions, f) { { const opts = Object.assign({}, inspectOptions, { showHidden: true, - showProxy: true, - depth: 4 + showProxy: true }); tempStr = inspect(arguments[a++], opts); break; |