feat(convention): support mixed-case for type

main
hau 2020-12-02 15:45:44 +07:00
parent f3193590d4
commit e915d51338
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func parseHeader(header string, commit *Commit) error {
headerSubmatches := headerRegex.FindStringSubmatch(header)
commit.Type = headerSubmatches[1]
commit.Type = strings.ToLower(headerSubmatches[1])
return nil
}