Skip to content

Commit

Permalink
aads more verbosity on go mod tidy errors (#837)
Browse files Browse the repository at this point in the history
Co-authored-by: Matteo Pace <pace.matteo96@gmail.com>
  • Loading branch information
jcchavezs and M4tteoP committed Jul 5, 2023
1 parent 493534d commit cc4ec80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc4ec80

Please sign in to comment.