summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/build.rs1
-rw-r--r--runtime/lib.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/build.rs b/runtime/build.rs
index dac6dee88..abdd0e584 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -222,6 +222,7 @@ mod startup_snapshot {
impl deno_node::NodeEnv for SnapshotNodeEnv {
type P = Permissions;
+ type Fs = deno_node::RealFs;
}
deno_core::extension!(runtime,
diff --git a/runtime/lib.rs b/runtime/lib.rs
index 57108aa7e..994e043fd 100644
--- a/runtime/lib.rs
+++ b/runtime/lib.rs
@@ -40,4 +40,5 @@ pub use worker_bootstrap::BootstrapOptions;
pub struct RuntimeNodeEnv;
impl deno_node::NodeEnv for RuntimeNodeEnv {
type P = permissions::PermissionsContainer;
+ type Fs = deno_node::RealFs;
}