diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-12-13 13:53:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-13 13:53:32 +0100 |
commit | 435948e47057a5d8f2ffffebf74b9f84e31770f8 (patch) | |
tree | 2b31cfb0b63b2436bf2d10e5ce867b7ae61a75d9 /cli/tools/repl/mod.rs | |
parent | 5d9bb8b4b042f4d4fbbe61b31a50a26db7f1ae63 (diff) |
feat(repl): support npm packages (#16770)
Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'cli/tools/repl/mod.rs')
-rw-r--r-- | cli/tools/repl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/repl/mod.rs b/cli/tools/repl/mod.rs index cde4efa28..ff438aeb2 100644 --- a/cli/tools/repl/mod.rs +++ b/cli/tools/repl/mod.rs @@ -89,7 +89,7 @@ pub async fn run(flags: Flags, repl_flags: ReplFlags) -> Result<i32, AnyError> { .await?; worker.setup_repl().await?; let worker = worker.into_main_worker(); - let mut repl_session = ReplSession::initialize(worker).await?; + let mut repl_session = ReplSession::initialize(ps.clone(), worker).await?; let mut rustyline_channel = rustyline_channel(); let mut should_exit_on_interrupt = false; |