Skip to content

Commit 3e593cd

Browse files
committed
[master] Fix bug when go test return error message
1 parent 0e89b81 commit 3e593cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/testomatic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func execCmd(cmdPath string, args []string) (*string, error) {
142142

143143
err := cmd.Run()
144144
if err != nil {
145-
return nil, err
145+
fmt.Println(err)
146146
}
147147

148148
result := out.String()

0 commit comments

Comments
 (0)