diff options
| author | Jeff Carr <[email protected]> | 2025-01-29 21:24:08 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-29 21:24:08 -0600 |
| commit | f690c1a8a328d1b136af728538c418849391e572 (patch) | |
| tree | cc937fa040c93409f9ccf5b2f4e82ce2b79e2349 /findNext.go | |
| parent | 250742905f06fbdcf754a558cf5a64063f67f34c (diff) | |
need fixes to force versions in go.mod
Diffstat (limited to 'findNext.go')
| -rw-r--r-- | findNext.go | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/findNext.go b/findNext.go index bd5c12b..d307343 100644 --- a/findNext.go +++ b/findNext.go @@ -66,9 +66,7 @@ func findNext() bool { continue } if alreadyDone(check) { - log.Info("findNext() ALREADY DONE. WHY IS THIS STILL CHECKING?", check.GetGoPath()) - log.Info("findNext() ALREADY DONE. WHY IS THIS STILL CHECKING?", check.GetGoPath()) - log.Info("findNext() ALREADY DONE. WHY IS THIS STILL CHECKING?", check.GetGoPath()) + log.Info("findNext() alreadyDone. WHY IS THIS STILL CHECKING?", check.GetGoPath()) continue } log.Info("CHECKING:", check.GetGoPath()) @@ -87,6 +85,12 @@ func findNext() bool { continue } + if err := me.forge.CleanGoDepsCheckOk(check); err != nil { + log.Info("CleanGoDepsCheckOk() failed", check.GetGoPath(), err) + log.Info("CleanGoDepsCheckOk() failed", check.GetGoPath(), err) + continue + } + if err := checkDeps(check); err != nil { log.Info("\t", check.GetGoPath(), err) continue @@ -94,16 +98,14 @@ func findNext() bool { log.Info("Might be ok?", check.GetGoPath()) } - if err := me.forge.FinalGoDepsCheckOk(check, argv.Verbose); err == nil { - log.Info("GOOD TO GO ON", check.GetGoPath()) - setCurrentRepo(check, "should be good to release", "pretty sure") - return true - } else { - log.Info("FinalGoDepsCheckOk() failed") - log.Info("FinalGoDepsCheckOk() failed") - log.Info("FinalGoDepsCheckOk() failed") + if err := me.forge.FinalGoDepsCheckOk(check, argv.Verbose); err != nil { + log.Info("FinalGoDepsCheckOk() repo=", check.GetGoPath(), "err:", err) + log.Info("FinalGoDepsCheckOk() repo=", check.GetGoPath(), "err:", err) + continue } - log.Info("findNext() got to the end. repo", check.GetGoPath(), "did not work. trying to find a new one now") + log.Info("GOOD TO GO ON", check.GetGoPath()) + setCurrentRepo(check, "should be good to release", "pretty sure") + return true } if findCounter == 0 { log.Info("NOTHING TO UPDATE. findCounter =", findCounter) |
