refactor: simplified sort of app names
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Roxie Gibson 2021-07-21 17:12:35 +01:00
parent 9216cc5d6a
commit 6b370599fa
Signed by untrusted user: roxxers
GPG Key ID: 5D0140EDEE123F4D
1 changed files with 1 additions and 3 deletions

View File

@ -71,9 +71,7 @@ func sortByAppName(apps AppsJson) []string {
for name := range apps {
names = append(names, name)
}
sort.Slice(names, func(i, j int) bool {
return names[i] < names[j]
})
sort.Strings(names)
return names
}