Skip to content

Commit

Permalink
♻️ Should gracefully exit instead of hard exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
segersniels committed Apr 13, 2024
1 parent ab4c81d commit 6f0657b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import (
func generateActionFunc(ctx *cli.Context) error {
diff, err := getStagedChanges()
if err != nil {
return err
fmt.Println(err)
return nil
}

response, err := getCompletion(diff, ctx.String("model"))
Expand Down

0 comments on commit 6f0657b

Please sign in to comment.