releaser-pleaser/internal/commitparser/conventionalcommits
Julian Tölle 634eac3b76
fix(parser): invalid handling of empty lines (#53)
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:05:18 +02:00
..
conventionalcommits.go fix(parser): invalid handling of empty lines (#53) 2024-09-08 21:05:18 +02:00
conventionalcommits_test.go fix(parser): invalid handling of empty lines (#53) 2024-09-08 21:05:18 +02:00