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 0d81af6e7..251ee5f41 100644
--- a/runtime/snapshot.rs
+++ b/runtime/snapshot.rs
@@ -82,6 +82,13 @@ impl deno_node::NodePermissions for Permissions {
) -> Result<(), PermissionCheckError> {
unreachable!("snapshotting!")
}
+ fn check_net(
+ &mut self,
+ _host: (&str, Option<u16>),
+ _api_name: &str,
+ ) -> Result<(), PermissionCheckError> {
+ unreachable!("snapshotting!")
+ }
fn check_read_path<'a>(
&mut self,
_path: &'a Path,