mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
fix(net): remove unstable check for unix socket listen (#21592)
Fixes https://github.com/denoland/deno/issues/21587 It seems this was missed in https://github.com/denoland/deno/pull/21463. cc @bartlomieju
This commit is contained in:
parent
94c70fd719
commit
28048e7c12
1 changed files with 0 additions and 1 deletions
|
@ -200,7 +200,6 @@ where
|
||||||
NP: NetPermissions + 'static,
|
NP: NetPermissions + 'static,
|
||||||
{
|
{
|
||||||
let address_path = Path::new(&path);
|
let address_path = Path::new(&path);
|
||||||
super::check_unstable(state, &api_name);
|
|
||||||
let permissions = state.borrow_mut::<NP>();
|
let permissions = state.borrow_mut::<NP>();
|
||||||
let api_call_expr = format!("{}()", api_name);
|
let api_call_expr = format!("{}()", api_name);
|
||||||
permissions.check_read(address_path, &api_call_expr)?;
|
permissions.check_read(address_path, &api_call_expr)?;
|
||||||
|
|
Loading…
Reference in a new issue