mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-19 15:23:36 +00:00
Fix small lint errors found by gocritic
This commit is contained in:
1 parent
8d56ec898e
commit
b0fc684cb6
7 files changed
+8
-8
No files matched your search
@@ -25,7 +25,7 @@ func ParseIndexGroups(spec string) IndexGroups {
|
||||
sub := re.FindStringSubmatch(g)
|
||||
if len(sub) > 0 {
|
||||
i := 0
|
||||
chars := strings.SplitN(sub[2], "", -1)
|
||||
chars := strings.Split(sub[2], "")
|
||||
for _, c := range chars {
|
||||
parsed[c] = sub[1]
|
||||
i++
|
||||
|
||||
Reference in new issue
Block a user