diff options
author | cjihrig <cjihrig@gmail.com> | 2018-10-25 15:27:20 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-10-27 09:02:10 -0400 |
commit | c99026bdd72aedadd79a1252ac3c2b3cbb8d26e7 (patch) | |
tree | 55f34b2e7a402613019edd7309998bff81ac229e /lib/net.js | |
parent | ffa5c7e054a9835649d580d94c898b174447a741 (diff) | |
download | android-node-v8-c99026bdd72aedadd79a1252ac3c2b3cbb8d26e7.tar.gz android-node-v8-c99026bdd72aedadd79a1252ac3c2b3cbb8d26e7.tar.bz2 android-node-v8-c99026bdd72aedadd79a1252ac3c2b3cbb8d26e7.zip |
doc: update missing deprecation
The deprecation code was not updated when landing the PR.
PR-URL: https://github.com/nodejs/node/pull/23883
Refs: https://github.com/nodejs/node/pull/23760
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'lib/net.js')
-rw-r--r-- | lib/net.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net.js b/lib/net.js index d4b8bfcc2a..3fec2c7dde 100644 --- a/lib/net.js +++ b/lib/net.js @@ -1677,7 +1677,7 @@ if (process.platform === 'win32') { if (warnSimultaneousAccepts) { process.emitWarning( 'net._setSimultaneousAccepts() is deprecated and will be removed.', - 'DeprecationWarning', 'DEP00XX'); + 'DeprecationWarning', 'DEP0121'); warnSimultaneousAccepts = false; } if (handle === undefined) { @@ -1699,7 +1699,7 @@ if (process.platform === 'win32') { if (warnSimultaneousAccepts) { process.emitWarning( 'net._setSimultaneousAccepts() is deprecated and will be removed.', - 'DeprecationWarning', 'DEP00XX'); + 'DeprecationWarning', 'DEP0121'); warnSimultaneousAccepts = false; } }; |