We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce0d8d1 commit 4da20bcCopy full SHA for 4da20bc
bin/morgue.js
@@ -5067,6 +5067,14 @@ function coronerNuke(argv, config) {
5067
errx('No such object.');
5068
}
5069
5070
+ if (!argv.includes("-f")) {
5071
+ name = target.get('name');
5072
+ const confirmation = readLine("You are about to nuke " + name + ". Please type '" + name +"' to confirm:");
5073
+ if (confirmation != name) {
5074
+ errx('Confirmation invalid: ' + confirmation);
5075
+ }
5076
5077
+
5078
bpg.delete(target, { cascade: true });
5079
5080
try {
0 commit comments