From 439c18578bde4ff6380ca5ccf26a43996a6e1d32 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Sat, 9 Dec 2017 05:34:16 -0200 Subject: [PATCH] util: fix custom inspect description Using a custom inspect function on the inspected object is deprecated. Remove the reference from the option description to make sure the user will read about the deprecation in the more detailed description. PR-URL: https://github.com/nodejs/node/pull/17576 Reviewed-By: Anna Henningsen --- doc/api/util.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api/util.md b/doc/api/util.md index a07ff2b169..8f9e6ef020 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -351,8 +351,7 @@ changes: codes. Defaults to `false`. Colors are customizable, see [Customizing `util.inspect` colors][]. * `customInspect` {boolean} If `false`, then custom `inspect(depth, opts)` - functions exported on the `object` being inspected will not be called. - Defaults to `true`. + functions will not be called. Defaults to `true`. * `showProxy` {boolean} If `true`, then objects and functions that are `Proxy` objects will be introspected to show their `target` and `handler` objects. Defaults to `false`.