Skip to content

Commit

Permalink
doc: fix unassigned deprecation code
Browse files Browse the repository at this point in the history
Forgot to assign the deprecation code when landing
1f8d527

PR-URL: #15741
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
jasnell committed Oct 3, 2017
1 parent 7092a6c commit 1261b94
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 Original file line Diff line number Diff line change
Expand Up @@ -710,8 +710,8 @@ function for [`util.inspect()`][] is deprecated. Use [`util.inspect.custom`][]
instead. For backwards compatibility with Node.js prior to version 6.4.0, both instead. For backwards compatibility with Node.js prior to version 6.4.0, both
may be specified. may be specified.
<a id="DEP00XX"></a> <a id="DEP0080"></a>
### DEP00XX: path.\_makeLong() ### DEP0080: path.\_makeLong()
Type: Documentation-only Type: Documentation-only
Expand Down
2 changes: 1 addition & 1 deletion lib/path.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ const posix = {
posix.win32 = win32.win32 = win32; posix.win32 = win32.win32 = win32;
posix.posix = win32.posix = posix; posix.posix = win32.posix = posix;


// Legacy internal API, docs-only deprecated: DEP00XX // Legacy internal API, docs-only deprecated: DEP0080
win32._makeLong = win32.toNamespacedPath; win32._makeLong = win32.toNamespacedPath;
posix._makeLong = posix.toNamespacedPath; posix._makeLong = posix.toNamespacedPath;


Expand Down

0 comments on commit 1261b94

Please sign in to comment.