releaser-pleaser/internal/commitparser/conventionalcommits
Julian Tölle 76e040a5a6 fix(parser): invalid handling of empty lines
GitLab generates commit messages of the pattern "scope: message\n" if no
body is present. This throws up the conventional commits parser we use,
and results in the error message "missing a blank line".

We now `strings.TrimSpace()` the commit message to avoid this problem.
2024-09-08 21:02:29 +02:00
..
conventionalcommits.go fix(parser): invalid handling of empty lines 2024-09-08 21:02:29 +02:00
conventionalcommits_test.go fix(parser): invalid handling of empty lines 2024-09-08 21:02:29 +02:00