diff options
Diffstat (limited to 'findRepos.go')
| -rw-r--r-- | findRepos.go | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/findRepos.go b/findRepos.go index 3562802..453f904 100644 --- a/findRepos.go +++ b/findRepos.go @@ -69,23 +69,24 @@ func findFavorites() { } func findAll() { - var configsave bool all := me.forge.Repos.SortByGoPath() for all.Scan() { repo := all.Next() + me.found.AppendUniqueGoPath(repo) if me.forge.Config.IsReadOnly(repo.GoPath) && !argv.FindReadOnly { if repo.ReadOnly { continue } log.Info("todo: ConfigSave() readonly flag on repo is wrong", repo.GoPath) repo.ReadOnly = true - configsave = true + configSave = true continue } - me.found.AppendUniqueGoPath(repo) - } - if configsave { - log.Info("should ConfigSave here") - me.forge.Repos.ConfigSave() } + /* + if configsave { + log.Info("should ConfigSave here") + me.forge.Repos.ConfigSave() + } + */ } |
