Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

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: nodejs/node#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]>
  • Loading branch information
jasnell authored and addaleax committed Sep 30, 2017
1 parent c4663f3 commit 5a2dd5c
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 5a2dd5c

Please sign in to comment.