diff --git a/github/client.go b/github/client.go index a90883f4..c31d8987 100644 --- a/github/client.go +++ b/github/client.go @@ -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, ", ") }