diff options
author | cjihrig <cjihrig@gmail.com> | 2018-10-25 22:27:20 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-10-27 16:02:10 +0300 |
commit | c99026bdd72aedadd79a1252ac3c2b3cbb8d26e7 (patch) | |
tree | 55f34b2e7a402613019edd7309998bff81ac229e /lib | |
parent | ffa5c7e054a9835649d580d94c898b174447a741 (diff) |
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')
-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 d4b8bfcc2ae..3fec2c7dde8 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; } }; |