Skip to content

Commit

Permalink
chore(git-cliff): trim leading whitespace in commit messages (#2302)
Browse files Browse the repository at this point in the history
Commit messages were omitted from the generated changelog if they had any leading whitespace. Fix it.
  • Loading branch information
wpbonelli authored Sep 5, 2024
1 parent 0b8be82 commit bfa344a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ trim = true
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_preprocessors = [
{ pattern = "^ *", replace = ""}
]
commit_parsers = [
{ message = "^[fF]eat", group = "feat"},
{ message = "^[fF]ix", group = "fix"},
Expand Down

0 comments on commit bfa344a

Please sign in to comment.