summaryrefslogtreecommitdiff
path: root/runtime/snapshot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/snapshot.rs')
-rw-r--r--runtime/snapshot.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/snapshot.rs b/runtime/snapshot.rs
index 978f3d70e..a50f0773a 100644
--- a/runtime/snapshot.rs
+++ b/runtime/snapshot.rs
@@ -84,6 +84,13 @@ impl deno_node::NodePermissions for Permissions {
) -> Result<(), deno_core::error::AnyError> {
unreachable!("snapshotting!")
}
+ fn check_write_with_api_name(
+ &self,
+ _p: &Path,
+ _api_name: Option<&str>,
+ ) -> Result<(), deno_core::error::AnyError> {
+ unreachable!("snapshotting!")
+ }
fn check_sys(
&self,
_kind: &str,