diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-10-04 21:42:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 21:42:17 +0200 |
commit | a5568066b3d979111134029f9e4f0c1b462b948e (patch) | |
tree | 14c4233cc01d55eda7f608b5194f6b088264b52e /ext/net/ops_tls.rs | |
parent | 9a46a824bd897e240af8a14f9d950ab6d95f42a5 (diff) |
refactor: use deno_core::FeatureChecker for unstable checks (#20765)
Diffstat (limited to 'ext/net/ops_tls.rs')
-rw-r--r-- | ext/net/ops_tls.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/net/ops_tls.rs b/ext/net/ops_tls.rs index 0b84415b9..fe0e70a5c 100644 --- a/ext/net/ops_tls.rs +++ b/ext/net/ops_tls.rs @@ -878,10 +878,10 @@ where .and_then(|it| it.0.clone()); if args.cert_chain.is_some() { - super::check_unstable2(&state, "ConnectTlsOptions.certChain"); + super::check_unstable(&state.borrow(), "ConnectTlsOptions.certChain"); } if args.private_key.is_some() { - super::check_unstable2(&state, "ConnectTlsOptions.privateKey"); + super::check_unstable(&state.borrow(), "ConnectTlsOptions.privateKey"); } { |