diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-11-29 09:32:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 09:32:23 -0500 |
commit | 9ac405d587ca1465debd4a65a09324b7a6b2c04f (patch) | |
tree | b3cc4adb3ddf06dc5d380c39f9e8a82c24b25655 /cli/tools/task.rs | |
parent | 7e56a0466fc9964ca5dd3533bb65c00cd1bac4dc (diff) |
feat(compile): support "bring your own node_modules" in deno compile (#21377)
Not tested thoroughly. This is a good start.
Closes #21350
Diffstat (limited to 'cli/tools/task.rs')
-rw-r--r-- | cli/tools/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/task.rs b/cli/tools/task.rs index f3acd1b19..d929dc666 100644 --- a/cli/tools/task.rs +++ b/cli/tools/task.rs @@ -122,7 +122,7 @@ pub async fn execute_script( None => Default::default(), }; let env_vars = match npm_resolver.root_node_modules_path() { - Some(dir_path) => collect_env_vars_with_node_modules_dir(&dir_path), + Some(dir_path) => collect_env_vars_with_node_modules_dir(dir_path), None => collect_env_vars(), }; let local = LocalSet::new(); |