From dae2653975b6db822633430a97adbb21b52a99ff Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 11 Dec 2024 19:31:37 -0600 Subject: use 'all' instead of 'loop' --- goSrcScan.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'goSrcScan.go') diff --git a/goSrcScan.go b/goSrcScan.go index d7a6cea..473e36b 100644 --- a/goSrcScan.go +++ b/goSrcScan.go @@ -133,9 +133,9 @@ func (f *Forge) rillScanDirs(gopaths []string) (int, error) { func (f *Forge) RillRedoGoMod() int { var all []*gitpb.Repo - repos := f.Repos.SortByGoPath() - for repos.Scan() { - repo := repos.Next() + tmp := f.Repos.SortByGoPath() + for tmp.Scan() { + repo := tmp.Next() if !repo.IsValid() { log.Printf("%10s %-50s", "old?", repo.GetGoPath()) continue -- cgit v1.2.3