Skip to content

Commit 193926e

Browse files
jasnellBridgeAR
authored andcommitted
tls,doc: fix unallocated deprecation code
Deprecation was landed using `DEP00XX` instead of a properly allocated deprecation code. PR-URL: #15534 Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 150b8f7 commit 193926e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/api/deprecations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,8 @@ Type: Runtime
661661

662662
`REPLServer.parseREPLKeyword()` was removed from userland visibility.
663663

664-
<a id="DEP00XX"></a>
665-
### DEP00XX: tls.parseCertString()
664+
<a id="DEP0076"></a>
665+
### DEP0076: tls.parseCertString()
666666

667667
Type: Runtime
668668

lib/tls.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ exports.parseCertString = internalUtil.deprecate(
233233
internalTLS.parseCertString,
234234
'tls.parseCertString() is deprecated. ' +
235235
'Please use querystring.parse() instead.',
236-
'DEP00XX');
236+
'DEP0076');
237237

238238
// Public API
239239
exports.createSecureContext = require('_tls_common').createSecureContext;

0 commit comments

Comments
 (0)