You've already forked go-semantic-release
style(changelog): simplify string sort
This commit is contained in:
committed by
Felix Wiedmann
parent
8acb8b74b8
commit
2c8d2d9ade
@@ -193,7 +193,7 @@ func (c *Changelog) GenerateChangelog(templateConfig shared.ChangelogTemplateCon
|
||||
i++
|
||||
}
|
||||
|
||||
sort.Sort(sort.StringSlice(authorsNames))
|
||||
sort.Strings(authorsNames)
|
||||
|
||||
changelogContent := changelogContent{
|
||||
CommitsContent: commitsContent,
|
||||
|
||||
Reference in New Issue
Block a user