summaryrefslogtreecommitdiff
path: root/cli/tools/task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/task.rs')
-rw-r--r--cli/tools/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/task.rs b/cli/tools/task.rs
index 93e78dc56..f80a32577 100644
--- a/cli/tools/task.rs
+++ b/cli/tools/task.rs
@@ -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(),
};