From 1261b94a3facbf486c58b8e8b2682f0de8b4d107 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Forgot to assign the deprecation code when landing 1f8d527e94ad97e7db14d18406fe0e12983358cb PR-URL: https://github.com/nodejs/node/pull/15741 Reviewed-By: Colin Ihrig Reviewed-By: Refael Ackermann Reviewed-By: Tobias Nießen --- 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;