Skip to content

Commit efa6685

Browse files
authored
Merge pull request #3259 from testwill/sort-string
chore: use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...))
2 parents 33ac458 + a9e068a commit efa6685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ func (s scopeSet) String() string {
13201320
for scope := range s {
13211321
scopes = append(scopes, scope)
13221322
}
1323-
sort.Sort(sort.StringSlice(scopes))
1323+
sort.Strings(scopes)
13241324
return strings.Join(scopes, ", ")
13251325
}
13261326

0 commit comments

Comments
 (0)