refactor: apply go fix modernizers for Go 1.26
Automated fixes: interface{} → any, range-over-int, t.Context(),
wg.Go(), strings.SplitSeq, strings.Builder, slices.Contains,
maps helpers, min/max builtins.
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
0a8b4484e7
commit
d542a56a8d
1 changed files with 1 additions and 1 deletions
2
git.go
2
git.go
|
|
@ -92,7 +92,7 @@ func getStatus(ctx context.Context, path, name string) RepoStatus {
|
|||
}
|
||||
|
||||
// Parse status output
|
||||
for _, line := range strings.Split(porcelain, "\n") {
|
||||
for line := range strings.SplitSeq(porcelain, "\n") {
|
||||
if len(line) < 2 {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue