From 3751b92fa293ff9d3fbb7e64d44cc2593aa98148 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 13 Jul 2021 12:01:02 -0700 Subject: [PATCH] debugger: rename internal module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All other files in `lib/internal` do not start with `_`. For consistency, move `lib/internal/debugger/_inspect.js` to `lib/internal/debugger/inspect.js`. PR-URL: https://github.com/nodejs/node/pull/39378 Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen Reviewed-By: James M Snell --- lib/internal/debugger/{_inspect.js => inspect.js} | 0 lib/internal/main/inspect.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/internal/debugger/{_inspect.js => inspect.js} (100%) diff --git a/lib/internal/debugger/_inspect.js b/lib/internal/debugger/inspect.js similarity index 100% rename from lib/internal/debugger/_inspect.js rename to lib/internal/debugger/inspect.js diff --git a/lib/internal/main/inspect.js b/lib/internal/main/inspect.js index 44923e5383ff5f..b3b26ecaa960f1 100644 --- a/lib/internal/main/inspect.js +++ b/lib/internal/main/inspect.js @@ -13,5 +13,5 @@ markBootstrapComplete(); // Start the debugger agent. process.nextTick(() => { - require('internal/debugger/_inspect').start(); + require('internal/debugger/inspect').start(); });