diff --git a/findNext.go b/findNext.go index 2990072..304291d 100644 --- a/findNext.go +++ b/findNext.go @@ -84,7 +84,7 @@ func findNext() bool { // don't check godepsNew, but check to make sure go mod tidy actually ran without error os.Unsetenv("GO111MODULE") cmd := []string{"go", "mod", "tidy"} - _, err := check.RunVerbose(cmd) + err := check.RunVerbose(cmd) if err != nil { log.Info("go mod tidy failed. this go package needs to be examined by hand as it doesn't appear to be primitive") os.Exit(-1)