diff --git a/lib/internal/bootstrap_node.js b/lib/internal/bootstrap_node.js index 95a18f33c38236..cf517cdcf2b5ef 100644 --- a/lib/internal/bootstrap_node.js +++ b/lib/internal/bootstrap_node.js @@ -322,7 +322,7 @@ const consoleAPIModule = new Module(''); consoleAPIModule.paths = - Module._nodeModulePaths(cwd).concat(Module.globalPaths); + Module._nodeModulePaths(cwd).concat(Module.globalPaths); addCommandLineAPI('require', makeRequireFunction(consoleAPIModule)); }