diff options
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 9b4f3be..c8970df 100644 --- a/findNext.go +++ b/findNext.go @@ -2,8 +2,6 @@ package main import ( - "strings" - "go.wit.com/log" "go.wit.com/lib/protobuf/gitpb" @@ -78,19 +76,23 @@ func runGoClean(check *gitpb.Repo, myarg string) bool { log.Info("Running", cmd, "in", check.GetGoPath()) result := check.Run(cmd) if result.Error != nil { - log.Info(cmd, "failed with", result.Error, check.GetGoPath()) - log.Info("STDOUT") - log.Info(strings.Join(result.Stdout, "\n")) - log.Info("STDERR") - log.Info(strings.Join(result.Stderr, "\n")) + /* + log.Info(cmd, "failed with", result.Error, check.GetGoPath()) + log.Info("STDOUT") + log.Info(strings.Join(result.Stdout, "\n")) + log.Info("STDERR") + log.Info(strings.Join(result.Stderr, "\n")) + */ return false } if result.Exit != 0 { - log.Info(cmd, "failed with", result.Exit, check.GetGoPath()) - log.Info("STDOUT") - log.Info(strings.Join(result.Stdout, "\n")) - log.Info("STDERR") - log.Info(strings.Join(result.Stderr, "\n")) + /* + log.Info(cmd, "failed with", result.Exit, check.GetGoPath()) + log.Info("STDOUT") + log.Info(strings.Join(result.Stdout, "\n")) + log.Info("STDERR") + log.Info(strings.Join(result.Stderr, "\n")) + */ return false } if check.ParseGoSum() { |
