diff options
| author | Jeff Carr <[email protected]> | 2025-01-29 20:43:03 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-29 20:43:03 -0600 |
| commit | 250742905f06fbdcf754a558cf5a64063f67f34c (patch) | |
| tree | a694c0d224867e942684adf171d799b50c6ed1b7 /findNext.go | |
| parent | 9ee828cc3b362cf490d3cd8dd4296ff56a3f85e2 (diff) | |
maybe this works finally
Diffstat (limited to 'findNext.go')
| -rw-r--r-- | findNext.go | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/findNext.go b/findNext.go index b9f1fe8..bd5c12b 100644 --- a/findNext.go +++ b/findNext.go @@ -73,17 +73,11 @@ func findNext() bool { } log.Info("CHECKING:", check.GetGoPath()) // _, err := check.RunVerboseOnError([]string{"go-mod-clean", "--strict"}) - _, err := check.RunStrictNew([]string{"go-mod-clean", "--strict"}) + _, err := check.RunStrictNew([]string{"go-mod-clean", "--smart"}) if err != nil { - log.Info("FAILED:", check.GetGoPath()) + log.Info("FAILED: findNext() go-mod-clean --smart", check.GetGoPath(), err) continue } - if err := checkDeps(check); err != nil { - log.Info("\t", check.GetGoPath(), err) - continue - } else { - log.Info("Might be ok?", check.GetGoPath()) - } findCounter += 1 if !check.ParseGoSum() { @@ -92,6 +86,14 @@ func findNext() bool { log.Info("ParseGoSum() failed", check.GetGoPath()) continue } + + if err := checkDeps(check); err != nil { + log.Info("\t", check.GetGoPath(), err) + continue + } else { + 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") |
