From cc4ec80a696d5bcea7b2281e9a0472acf22105c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Ch=C3=A1vez?= Date: Thu, 6 Jul 2023 00:09:38 +0200 Subject: [PATCH] aads more verbosity on go mod tidy errors (#837) Co-authored-by: Matteo Pace --- magefile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magefile.go b/magefile.go index 11c2c84e7..840fdb16b 100644 --- a/magefile.go +++ b/magefile.go @@ -86,7 +86,7 @@ func Lint() error { if _, err := os.Stat(filepath.Join(path, "go.mod")); err == nil { cmd := exec.Command("go", "mod", "tidy") cmd.Dir = path - out, err := cmd.Output() + out, err := cmd.CombinedOutput() fmt.Printf(string(out)) if err != nil { return err