From f5b53b403e24f3c1b90f986c7eea255b9e7fb366 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 8 Jan 2025 04:53:45 -0600 Subject: quiet some output --- findNext.go | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'findNext.go') 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() { -- cgit v1.2.3