summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-02-22 22:45:35 -0500
committerGitHub <noreply@github.com>2023-02-22 22:45:35 -0500
commitb15f9e60a040e2e450e7ca9971a5fc07dbf8b94c (patch)
tree4290744b0c0a8f8f5d063322a650fdabf2d3150c /cli/worker.rs
parentcc8e4a00aaf4c4fe959944c7400f2e259f7faae8 (diff)
feat(task): support scripts in package.json (#17887)
This is a super basic initial implementation. We don't create a `node_modules/.bin` folder at the moment and add it to the PATH like we should which is necessary to make command name resolution in the subprocess work properly (ex. you run a script that launches another script that then tries to launch an "npx command"... this won't work atm). Closes #17492
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index 000216102..4cf4fe862 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -457,7 +457,6 @@ async fn create_main_worker_internal(
&pkg_nv,
package_ref.sub_path.as_deref(),
&ps.npm_resolver,
- &mut PermissionsContainer::allow_all(),
)?;
let is_main_cjs =
matches!(node_resolution, node::NodeResolution::CommonJs(_));