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. --- ext/cron/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/cron/lib.rs') diff --git a/ext/cron/lib.rs b/ext/cron/lib.rs index 95e38179d..e350e4d69 100644 --- a/ext/cron/lib.rs +++ b/ext/cron/lib.rs @@ -62,11 +62,9 @@ where { let cron_handler = { let state = state.borrow(); - // 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(UNSTABLE_FEATURE_NAME, "Deno.cron"); + .check_or_exit(UNSTABLE_FEATURE_NAME, "Deno.cron"); state.borrow::>().clone() }; -- cgit v1.2.3