mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
fix(npm): store npm binary command resolution in lockfile (#19219)
Part of #19038 Closes #19034 (eliminates the time spent re-resolving)
This commit is contained in:
parent
612226de8e
commit
7b4c483aa1
13 changed files with 103 additions and 41 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue