Skip to content

Commit

Permalink
style(changelog): simplify string sort
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightapes authored and fwiedmann committed Apr 11, 2022
1 parent 8acb8b7 commit 2c8d2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/changelog/changelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (c *Changelog) GenerateChangelog(templateConfig shared.ChangelogTemplateCon
i++
}

sort.Sort(sort.StringSlice(authorsNames))
sort.Strings(authorsNames)

changelogContent := changelogContent{
CommitsContent: commitsContent,
Expand Down

0 comments on commit 2c8d2d9

Please sign in to comment.