fix(changelog): wrong header for fixed type

main
hau 2020-12-17 17:54:58 +07:00
parent d9d61fce7a
commit d95f82e3ba
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ func (g *MarkdownGenerator) getNewNodes(commits []convention.Commit) []markdown.
if len(commitBases[fixedType]) != 0 { if len(commitBases[fixedType]) != 0 {
result = append(result, markdown.NewHeader(thirdLevel, fixedType)) result = append(result, markdown.NewHeader(thirdLevel, fixedType))
result = append(result, commitBases[addedType]...) result = append(result, commitBases[fixedType]...)
} }
if len(commitBases[othersType]) != 0 { if len(commitBases[othersType]) != 0 {