summaryrefslogtreecommitdiff
path: root/doRedoGoMod.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRedoGoMod.go')
-rw-r--r--doRedoGoMod.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doRedoGoMod.go b/doRedoGoMod.go
index 6e9f979..238ab2a 100644
--- a/doRedoGoMod.go
+++ b/doRedoGoMod.go
@@ -11,9 +11,9 @@ import (
func doRedoGoMod() {
me.forge.RillRedoGoMod()
os.Exit(0)
- repos := me.forge.Repos.SortByGoPath()
- for repos.Scan() {
- repo := repos.Next()
+ all := me.forge.Repos.SortByGoPath()
+ for all.Scan() {
+ repo := all.Next()
if !repo.IsValid() {
log.Printf("%10s %-50s", "old?", repo.GetGoPath())
continue