diff options
Diffstat (limited to 'ext/kv/lib.rs')
-rw-r--r-- | ext/kv/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/kv/lib.rs b/ext/kv/lib.rs index c7a995073..45095724d 100644 --- a/ext/kv/lib.rs +++ b/ext/kv/lib.rs @@ -129,11 +129,9 @@ where { let 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.openKv"); + .check_or_exit(UNSTABLE_FEATURE_NAME, "Deno.openKv"); state.borrow::<Rc<DBH>>().clone() }; let db = handler.open(state.clone(), path).await?; |