Skip to content

Commit

Permalink
🐛 Disregard the error since it exits on non confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
segersniels committed Apr 13, 2024
1 parent dc56df3 commit 404fc1d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@ func commitActionFunc(ctx *cli.Context) error {
IsConfirm: true,
}

result, err := prompt.Run()
if err != nil {
return err
}

result, _ := prompt.Run()
if result == "y" {
break
}
Expand Down

0 comments on commit 404fc1d

Please sign in to comment.