feat(convention): make sure header commit is trimmed space

main
hau 2020-11-11 10:28:05 +07:00
parent 531250eb24
commit 71630969cd
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ func NewCommit(c git.Commit) (result Commit, err error) {
return
}
header := messages[0]
header := strings.TrimSpace(messages[0])
if err = parseHeader(header, &result); err != nil {
return
}