Skip to content

Commit

Permalink
util: assign missed deprecation number
Browse files Browse the repository at this point in the history
Refs: #18415
PR-URL: #19149
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
addaleax committed Mar 5, 2018
1 parent b20af80 commit ae31370
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`][])
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/bootstrap_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
'Accessing native typechecking bindings of Node ' +
'directly is deprecated. ' +
`Please use \`util.types.${name}\` instead.`,
'DEP0XXX') :
'DEP0103') :
types[name];
}
}
Expand Down

0 comments on commit ae31370

Please sign in to comment.