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:
Divy Srivastava 2023-12-15 14:52:40 +05:30 committed by GitHub
parent 94c70fd719
commit 28048e7c12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,7 +200,6 @@ where
NP: NetPermissions + 'static,
{
let address_path = Path::new(&path);
super::check_unstable(state, &api_name);
let permissions = state.borrow_mut::<NP>();
let api_call_expr = format!("{}()", api_name);
permissions.check_read(address_path, &api_call_expr)?;