summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index 3ac3654e2..9b2755939 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -189,6 +189,7 @@ impl MainWorker {
unstable,
options.unsafely_ignore_certificate_errors.clone(),
),
+ deno_napi::init::<Permissions>(unstable),
deno_node::init::<Permissions>(unstable, options.npm_resolver),
ops::os::init(exit_code.clone()),
ops::permissions::init(),