diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-09-27 22:36:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-27 22:36:33 +0200 |
commit | 212b7dd6da487c070229b6348ec7907b4fecbcf9 (patch) | |
tree | 3eb743f90e8b293182a830722eb4ff26bec72039 /runtime/build.rs | |
parent | a344368603063bcb281e743f3810ca1e4e46e85d (diff) |
feat: Add requesting API name to permission prompt (#15936)
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com>
Diffstat (limited to 'runtime/build.rs')
-rw-r--r-- | runtime/build.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/build.rs b/runtime/build.rs index a9ba09825..d45c4a2a8 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -72,6 +72,7 @@ mod not_docs { fn check_net_url( &mut self, _url: &deno_core::url::Url, + _api_name: &str, ) -> Result<(), deno_core::error::AnyError> { unreachable!("snapshotting!") } @@ -79,6 +80,7 @@ mod not_docs { fn check_read( &mut self, _p: &Path, + _api_name: &str, ) -> Result<(), deno_core::error::AnyError> { unreachable!("snapshotting!") } @@ -88,6 +90,7 @@ mod not_docs { fn check_net_url( &mut self, _url: &deno_core::url::Url, + _api_name: &str, ) -> Result<(), deno_core::error::AnyError> { unreachable!("snapshotting!") } @@ -120,6 +123,7 @@ mod not_docs { fn check_net<T: AsRef<str>>( &mut self, _host: &(T, Option<u16>), + _api_name: &str, ) -> Result<(), deno_core::error::AnyError> { unreachable!("snapshotting!") } @@ -138,6 +142,7 @@ mod not_docs { fn check_net<T: AsRef<str>>( &mut self, _host: &(T, Option<u16>), + _api_name: &str, ) -> Result<(), deno_core::error::AnyError> { unreachable!("snapshotting!") } @@ -145,6 +150,7 @@ mod not_docs { fn check_read( &mut self, _p: &Path, + _api_name: &str, ) -> Result<(), deno_core::error::AnyError> { unreachable!("snapshotting!") } @@ -152,6 +158,7 @@ mod not_docs { fn check_write( &mut self, _p: &Path, + _api_name: &str, ) -> Result<(), deno_core::error::AnyError> { unreachable!("snapshotting!") } |