From a9e068a136e5004efbf1acf3fd75e785d8f76e90 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Sat, 17 Jun 2023 14:53:50 +0800 Subject: [PATCH] chore: use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...)) --- github/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/client.go b/github/client.go index a90883f40..c31d8987f 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, ", ") }