summaryrefslogtreecommitdiff
path: root/ext/kv/lib.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2023-03-22 15:23:36 -0400
committerGitHub <noreply@github.com>2023-03-22 20:23:36 +0100
commitf9c8d98b776083525a41f37ebfd86a4a4a288c43 (patch)
treefe96f0affd7c923ede54acd2b969e5c2e4089afd /ext/kv/lib.rs
parent47aa58c72168055047151927946b81085e4ea4cd (diff)
Revert "refactor: rename Deno.openKv() to Deno.kv() (#18349)" (#18362)
This reverts commit 50b793c9ed866ee29e8f04b4fa24b485b01a2b74.
Diffstat (limited to 'ext/kv/lib.rs')
-rw-r--r--ext/kv/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/kv/lib.rs b/ext/kv/lib.rs
index b0b629e33..49a59af74 100644
--- a/ext/kv/lib.rs
+++ b/ext/kv/lib.rs
@@ -84,7 +84,9 @@ where
{
let handler = {
let state = state.borrow();
- state.borrow::<UnstableChecker>().check_unstable("Deno.kv");
+ state
+ .borrow::<UnstableChecker>()
+ .check_unstable("Deno.openKv");
state.borrow::<Rc<DBH>>().clone()
};
let db = handler.open(state.clone(), path).await?;