diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-05-22 16:55:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 16:55:04 -0400 |
commit | 7b4c483aa159794cdb9d57d3252c2980fba45469 (patch) | |
tree | b1c3b0ab080e98ab20f470fbad5b1aba05045dfb /cli/tools/repl/session.rs | |
parent | 612226de8e2fe3068d981866242bacedfceb9734 (diff) |
fix(npm): store npm binary command resolution in lockfile (#19219)
Part of #19038
Closes #19034 (eliminates the time spent re-resolving)
Diffstat (limited to 'cli/tools/repl/session.rs')
-rw-r--r-- | cli/tools/repl/session.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/repl/session.rs b/cli/tools/repl/session.rs index b8daf505b..40cf7d3b0 100644 --- a/cli/tools/repl/session.rs +++ b/cli/tools/repl/session.rs @@ -518,7 +518,7 @@ impl ReplSession { self.has_initialized_node_runtime = true; } - self.npm_resolver.add_package_reqs(npm_imports).await?; + self.npm_resolver.add_package_reqs(&npm_imports).await?; // prevent messages in the repl about @types/node not being cached if has_node_specifier { |