Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone authored May 17, 2024
1 parent 26ceb42 commit 88c3950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/ooniprobe/internal/cli/rm/rm.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func deleteAll(d *database.Database, skipInteractive bool) error {
Options: []string{"true", "false"},
Default: "false",
}
_ = survey.AskOne(confirm, &answer, nil) // no error checking: we rely on the default
_ = survey.AskOne(confirm, &answer, nil) // no error checking: we rely on the default value
if answer == "false" {
return errors.New("canceled by user")
}
Expand Down Expand Up @@ -80,7 +80,7 @@ func init() {
Options: []string{"true", "false"},
Default: "false",
}
_ = survey.AskOne(confirm, &answer, nil) // no error checking: we rely on the default
_ = survey.AskOne(confirm, &answer, nil) // no error checking: we rely on the default value
if answer == "false" {
return errors.New("canceled by user")
}
Expand Down

0 comments on commit 88c3950

Please sign in to comment.