summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go18
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")