mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor(npm): break up NpmModuleLoader
and move more methods into the managed CliNpmResolver
(#20777)
Part of https://github.com/denoland/deno/issues/18967
This commit is contained in:
parent
494822175f
commit
8c1677ecbc
19 changed files with 385 additions and 306 deletions
|
@ -126,7 +126,7 @@ pub async fn execute_script(
|
|||
}
|
||||
None => Default::default(),
|
||||
};
|
||||
let env_vars = match npm_resolver.node_modules_path() {
|
||||
let env_vars = match npm_resolver.root_node_modules_path() {
|
||||
Some(dir_path) => collect_env_vars_with_node_modules_dir(&dir_path),
|
||||
None => collect_env_vars(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue