summaryrefslogtreecommitdiff
path: root/runtime/snapshot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/snapshot.rs')
-rw-r--r--runtime/snapshot.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/snapshot.rs b/runtime/snapshot.rs
index f7642573e..a0f0665b4 100644
--- a/runtime/snapshot.rs
+++ b/runtime/snapshot.rs
@@ -76,7 +76,11 @@ impl deno_node::NodePermissions for Permissions {
) -> Result<(), deno_core::error::AnyError> {
unreachable!("snapshotting!")
}
- fn check_read(&self, _p: &Path) -> Result<(), deno_core::error::AnyError> {
+ fn check_read_with_api_name(
+ &self,
+ _p: &Path,
+ _api_name: Option<&str>,
+ ) -> Result<(), deno_core::error::AnyError> {
unreachable!("snapshotting!")
}
fn check_sys(