diff --git a/cmd/root.go b/cmd/root.go index 5143f45..b7c3766 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -122,7 +122,7 @@ func dialogDesctructiveConfirmProceed() (proceed bool) { for !haveConfirmationAnswer { utils.PrintRed("This is a destructive operation. Continue? ") answer := strings.ToLower(prompt.Input("> ", f, prompt.OptionShowCompletionAtStart())) - if answer == "yes" || answer == "no" { + if answer == "yes" || answer == "no" || answer == "" { haveConfirmationAnswer = true if answer == "yes" { proceed = true