util: assign missed deprecation number

Refs: https://github.com/nodejs/node/pull/18415
PR-URL: https://github.com/nodejs/node/pull/19149
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Anna Henningsen 2018-03-05 18:02:26 +00:00
parent b20af8088a
commit ae3137049f
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9
2 changed files with 3 additions and 3 deletions

View File

@ -932,8 +932,8 @@ Using the `noAssert` argument has no functionality anymore. All input is going
to be verified, no matter if it is set to true or not. Skipping the verification
could lead to hard to find errors and crashes.
<a id="DEP0XXX"></a>
### DEP0XXX: process.binding('util').is[...] typechecks
<a id="DEP0103"></a>
### DEP0103: process.binding('util').is[...] typechecks
Type: Documentation-only (supports [`--pending-deprecation`][])

View File

@ -128,7 +128,7 @@
'Accessing native typechecking bindings of Node ' +
'directly is deprecated. ' +
`Please use \`util.types.${name}\` instead.`,
'DEP0XXX') :
'DEP0103') :
types[name];
}
}