summaryrefslogtreecommitdiff
path: root/cli/tools/repl
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-20 14:05:13 -0400
committerGitHub <noreply@github.com>2023-03-20 14:05:13 -0400
commitcd53ab5427811bddbed1c30d3733e1df87bb23f9 (patch)
tree0e2ea8e1b45f2d1d4acd20b666ae1d52d40940c6 /cli/tools/repl
parentd78db7c0910aded010c2faee9a8c0f128f513985 (diff)
refactor(ext/node): untangle dependencies between js files (#18284)
Moving some code around in `ext/node` is it's a bit better well defined and makes it possible for others to embed it. I expect to see no difference in startup perf with this change.
Diffstat (limited to 'cli/tools/repl')
-rw-r--r--cli/tools/repl/session.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tools/repl/session.rs b/cli/tools/repl/session.rs
index 5fa3e4b05..350b38bb9 100644
--- a/cli/tools/repl/session.rs
+++ b/cli/tools/repl/session.rs
@@ -507,6 +507,7 @@ impl ReplSession {
deno_node::initialize_runtime(
&mut self.worker.js_runtime,
self.proc_state.options.has_node_modules_dir(),
+ None,
)?;
self.has_initialized_node_runtime = true;
}