From 4fd7d785973dc4ae85274ab1eae2c7b7388fc44a Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 2 Oct 2017 12:39:41 -0700 Subject: [PATCH] doc: fix unassigned deprecation code Forgot to assign the deprecation code when landing 1f8d527e94ad97e7db14d18406fe0e12983358cb --- doc/api/deprecations.md | 4 ++-- lib/path.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index e5495fa5ceb587..76165638839e38 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -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 may be specified. - -### DEP00XX: path.\_makeLong() + +### DEP0080: path.\_makeLong() Type: Documentation-only diff --git a/lib/path.js b/lib/path.js index c9ed0120d8697f..876e5fd582e26d 100644 --- a/lib/path.js +++ b/lib/path.js @@ -1629,7 +1629,7 @@ const posix = { posix.win32 = win32.win32 = win32; posix.posix = win32.posix = posix; -// Legacy internal API, docs-only deprecated: DEP00XX +// Legacy internal API, docs-only deprecated: DEP0080 win32._makeLong = win32.toNamespacedPath; posix._makeLong = posix.toNamespacedPath;