Skip to content

Commit e9bbe16

Browse files
committed
feat: sort with browser name
1 parent 2863070 commit e9bbe16

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/browser/browser.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package browser
33
import (
44
"os"
55
"path/filepath"
6+
"sort"
67
"strings"
78

89
"hack-browser-data/internal/browingdata"
@@ -108,6 +109,7 @@ func ListBrowser() []string {
108109
var l []string
109110
l = append(l, typeutil.Keys(chromiumList)...)
110111
l = append(l, typeutil.Keys(firefoxList)...)
112+
sort.Strings(l)
111113
return l
112114
}
113115

0 commit comments

Comments
 (0)