Commit 771585fc authored by leeight's avatar leeight Committed by Daniel Bevenius
Browse files

lib: refactor setupInspector in bootstrap/node.js

`CJSModule` is not used in `setupGlobalConsole`, so we can move it to
`setupInspector` and remove the argument from `setupInspector`.

PR-URL: https://github.com/nodejs/node/pull/24446


Reviewed-By: default avatarOuyang Yadong <oyydoibh@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarDaniel Bevenius <daniel.bevenius@gmail.com>
parent 47495e08
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment