Skip to content

Commit

Permalink
Print error when command does not run successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
pcasaretto committed Jun 28, 2019
1 parent a9b9ccf commit ed81984
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ func main() {

cmd.Env = env

cmd.Run()
err = cmd.Run()
if err != nil {
log.Fatal(err)
}
}

0 comments on commit ed81984

Please sign in to comment.