Skip to content

Commit

Permalink
Merge pull request #3259 from testwill/sort-string
Browse files Browse the repository at this point in the history
chore: use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...))
  • Loading branch information
mislav authored Jun 21, 2023
2 parents 33ac458 + a9e068a commit efa6685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ func (s scopeSet) String() string {
for scope := range s {
scopes = append(scopes, scope)
}
sort.Sort(sort.StringSlice(scopes))
sort.Strings(scopes)
return strings.Join(scopes, ", ")
}

Expand Down

0 comments on commit efa6685

Please sign in to comment.