style(changelog): simplify string sort

This commit is contained in:
Sebastian
2022-04-11 21:46:40 +02:00
committed by Felix Wiedmann
parent 8acb8b74b8
commit 2c8d2d9ade

View File

@@ -193,7 +193,7 @@ func (c *Changelog) GenerateChangelog(templateConfig shared.ChangelogTemplateCon
i++ i++
} }
sort.Sort(sort.StringSlice(authorsNames)) sort.Strings(authorsNames)
changelogContent := changelogContent{ changelogContent := changelogContent{
CommitsContent: commitsContent, CommitsContent: commitsContent,