We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5114a2b + b6b524b commit 88d852aCopy full SHA for 88d852a
build/update-license.go
@@ -291,8 +291,8 @@ func writeAuthors(files []string) {
291
}
292
293
// Write sorted list of authors back to the file.
294
- slices.SortFunc(list, func(a, b string) bool {
295
- return strings.ToLower(a) < strings.ToLower(b)
+ slices.SortFunc(list, func(a, b string) int {
+ return strings.Compare(strings.ToLower(a), strings.ToLower(b))
296
})
297
content := new(bytes.Buffer)
298
content.WriteString(authorsFileHeader)
0 commit comments