feat(convention): support mixed-case for type
parent
f3193590d4
commit
e915d51338
|
@ -47,7 +47,7 @@ func parseHeader(header string, commit *Commit) error {
|
||||||
|
|
||||||
headerSubmatches := headerRegex.FindStringSubmatch(header)
|
headerSubmatches := headerRegex.FindStringSubmatch(header)
|
||||||
|
|
||||||
commit.Type = headerSubmatches[1]
|
commit.Type = strings.ToLower(headerSubmatches[1])
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue