summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-07 05:13:44 -0400
committerGitHub <noreply@github.com>2023-03-07 18:13:44 +0900
commitfe368b72c1dd2f2d17b7b7e5965b9e3d9ca61c35 (patch)
treeebc76fb86e3bee1baf1e336feb36a507affa7316 /runtime/worker.rs
parent64354f41125642d420d80cbf617dfb8ddca398e5 (diff)
refactor: Add "deno_fs" extension crate (#18040)
This commit factors out APIs related to file system from "runtime/" to a separate "deno_fs" extension crate.
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index 66497489d..1a6b6f2fc 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -255,7 +255,7 @@ impl MainWorker {
options.format_js_error_fn.clone(),
),
ops::fs_events::init(),
- ops::fs::init::<PermissionsContainer>(),
+ deno_fs::init::<PermissionsContainer>(unstable),
deno_io::init(options.stdio),
deno_tls::init(),
deno_net::init::<PermissionsContainer>(