build: use sequence Split introduced in go1.24
This commit is contained in:
+1
-1
@@ -743,7 +743,7 @@ func parseTrackRenamesStrategy(strategies string) (strategy trackRenamesStrategy
|
||||
if len(strategies) == 0 {
|
||||
return strategy, nil
|
||||
}
|
||||
for _, s := range strings.Split(strategies, ",") {
|
||||
for s := range strings.SplitSeq(strategies, ",") {
|
||||
switch s {
|
||||
case "hash":
|
||||
strategy |= trackRenamesStrategyHash
|
||||
|
||||
Reference in New Issue
Block a user