Skip to content

Commit

Permalink
tls,doc: fix unallocated deprecation code
Browse files Browse the repository at this point in the history
Deprecation was landed using `DEP00XX` instead of a properly
allocated deprecation code.

PR-URL: #15534
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
jasnell authored and BridgeAR committed Sep 24, 2017
1 parent 150b8f7 commit 193926e
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 @@ -661,8 +661,8 @@ Type: Runtime

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

<a id="DEP00XX"></a>
### DEP00XX: tls.parseCertString()
<a id="DEP0076"></a>
### DEP0076: tls.parseCertString()

Type: Runtime

Expand Down
2 changes: 1 addition & 1 deletion lib/tls.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ exports.parseCertString = internalUtil.deprecate(
internalTLS.parseCertString,
'tls.parseCertString() is deprecated. ' +
'Please use querystring.parse() instead.',
'DEP00XX');
'DEP0076');

// Public API
exports.createSecureContext = require('_tls_common').createSecureContext;
Expand Down

0 comments on commit 193926e

Please sign in to comment.