Skip to content

Commit

Permalink
chore: use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...))
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill committed Jun 17, 2023
1 parent 38bcd4a commit a9e068a
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 a9e068a

Please sign in to comment.