diff options
Diffstat (limited to 'ext/cron/lib.rs')
-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() }; |