Skip to content

Commit

Permalink
🐛 Update error message when no commit messages are generated
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonBirchall committed Dec 16, 2024
1 parent 65e11e0 commit 650b8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ It helps you see what changes have been made before committing them. It also sug
}
commitMessages := getCommitMessages(diff, apiKey)
if len(commitMessages) == 0 {
fmt.Println("No commit messages generated.")
fmt.Println("An error occurred while getting commit messages.")
return
}

Expand Down

0 comments on commit 650b8b2

Please sign in to comment.