diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-10-04 20:55:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-04 20:55:41 +0100 |
commit | 2de4faa483982478e9a36ad4ab891a887b4779f1 (patch) | |
tree | 5ee8512e5dc380759054900943074d5b6ee8c65c /runtime/snapshot.rs | |
parent | f288730c38bd4f13b464a9bd67eb901a8c790bc4 (diff) |
refactor: improve node permission checks (#26028)
Does less work when requesting permissions with `-A`
Diffstat (limited to 'runtime/snapshot.rs')
-rw-r--r-- | runtime/snapshot.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/snapshot.rs b/runtime/snapshot.rs index 456810e6a..041132f97 100644 --- a/runtime/snapshot.rs +++ b/runtime/snapshot.rs @@ -97,6 +97,9 @@ impl deno_node::NodePermissions for Permissions { ) -> Result<PathBuf, deno_core::error::AnyError> { unreachable!("snapshotting!") } + fn query_read_all(&mut self) -> bool { + unreachable!("snapshotting!") + } fn check_write_with_api_name( &mut self, _p: &str, |