summaryrefslogtreecommitdiff
path: root/runtime/web_worker.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-08-24 18:07:49 +0200
committerGitHub <noreply@github.com>2022-08-24 18:07:49 +0200
commit6bb72a80863ac3913d32ea21aae32dd327ce6b71 (patch)
tree9a94d2df9ba46eec6a992fc749c4b80fbe62c11b /runtime/web_worker.rs
parent684aabbc252fe895e8f5de82c5fa4b7b6290f3ea (diff)
feat(unstable): add more permission checks for ext/node/ (#15581)
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index 7ef280252..d4a96633d 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -423,7 +423,7 @@ impl WebWorker {
unstable,
options.unsafely_ignore_certificate_errors.clone(),
),
- deno_node::init(unstable, options.npm_resolver),
+ deno_node::init::<Permissions>(unstable, options.npm_resolver),
ops::os::init_for_worker(),
ops::permissions::init(),
ops::process::init(),