diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-17 02:13:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 01:13:34 +0000 |
commit | aaf2bf4bfbf90bed0b6e9812f337f057d1d24f93 (patch) | |
tree | c8e9f889c5864fcdc9d14bda0b13190449deae00 /ext/cron | |
parent | 01b5dfd9ea927d41492fde352cd79f7b972439b9 (diff) |
chore: upgrade deno_core (#25674)
No functional changes, just removes dead code.
Diffstat (limited to 'ext/cron')
-rw-r--r-- | ext/cron/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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::<Rc<C>>().clone() }; |