Skip to content

Commit

Permalink
Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Dec 19, 2023
1 parent 9053ebe commit ef098b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ func processorFuncSort(k interface{}) []string {
case string:
result = []string{t}
case []string:
sort.Strings(t)
result = t
sort.Strings(result)
}

return result
Expand Down

0 comments on commit ef098b6

Please sign in to comment.