Skip to content

Commit 886d8d8

Browse files
committed
Change the default value of delete confirmation to false
1 parent 2ce7b0c commit 886d8d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/command/delete.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export async function deleteKey(
1616
const enquirer = new Enquirer();
1717
enquirer.register("confirm", require("prompt-confirm"));
1818
enquirer.question("delete", "Do you really want to delete the key?", {
19-
type: "confirm"
19+
type: "confirm",
20+
default: false
2021
});
2122
return enquirer
2223
.prompt(["delete"])

0 commit comments

Comments
 (0)