From aaf2bf4bfbf90bed0b6e9812f337f057d1d24f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 17 Sep 2024 02:13:34 +0100 Subject: chore: upgrade deno_core (#25674) No functional changes, just removes dead code. --- runtime/ops/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'runtime/ops') diff --git a/runtime/ops/mod.rs b/runtime/ops/mod.rs index ad650a776..feed5052b 100644 --- a/runtime/ops/mod.rs +++ b/runtime/ops/mod.rs @@ -17,11 +17,7 @@ use deno_core::OpState; /// Helper for checking unstable features. Used for sync ops. pub fn check_unstable(state: &OpState, feature: &str, api_name: &str) { - // TODO(bartlomieju): replace with `state.feature_checker.check_or_exit` - // once we phase out `check_or_exit_with_legacy_fallback` - state - .feature_checker - .check_or_exit_with_legacy_fallback(feature, api_name); + state.feature_checker.check_or_exit(feature, api_name); } pub struct TestingFeaturesEnabled(pub bool); -- cgit v1.2.3