doc: add missing deprecation code

PR-URL: https://github.com/nodejs/node/pull/29820
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
cjihrig 2019-10-03 00:39:38 +02:00 committed by Rich Trott
parent 70c2444155
commit a67b73b9ae
2 changed files with 3 additions and 3 deletions

View File

@ -2519,8 +2519,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

View File

@ -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