Skip to content

Commit

Permalink
doc: add missing deprecation code
Browse files Browse the repository at this point in the history
PR-URL: #29820
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
  • Loading branch information
cjihrig authored and BridgeAR committed Oct 9, 2019
1 parent 74a69ab commit 8b4f210
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 @@ -2508,8 +2508,8 @@ Type: Documentation-only
Prefer [`response.socket`][] over [`response.connection`] and
[`request.socket`][] over [`request.connection`].
<a id="DEP0XXX"></a>
### DEP0XXX: process._tickCallback
<a id="DEP0134"></a>
### DEP0134: process._tickCallback
<!-- YAML
changes:
- version: REPLACEME
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/bootstrap/pre_execution.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function initializeDeprecations() {

process._tickCallback = deprecate(process._tickCallback,
'process._tickCallback() is deprecated',
'DEP0XXX');
'DEP0134');
}

// Create global.process and global.Buffer as getters so that we have a
Expand Down

0 comments on commit 8b4f210

Please sign in to comment.