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 830c61d commit 146483bCopy full SHA for 146483b
cmd/root.go
@@ -122,7 +122,7 @@ func dialogDesctructiveConfirmProceed() (proceed bool) {
122
for !haveConfirmationAnswer {
123
utils.PrintRed("This is a destructive operation. Continue? ")
124
answer := strings.ToLower(prompt.Input("> ", f, prompt.OptionShowCompletionAtStart()))
125
- if answer == "yes" || answer == "no" {
+ if answer == "yes" || answer == "no" || answer == "" {
126
haveConfirmationAnswer = true
127
if answer == "yes" {
128
proceed = true
0 commit comments