Skip to content

Commit

Permalink
Merge pull request #73 from dlozano/feature/fix-test-command-exit-code
Browse files Browse the repository at this point in the history
Exit after test failure
  • Loading branch information
Spiddy authored Jun 16, 2017
2 parents f9c86d3 + a692f5f commit e2b8f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captain.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func Test(opts BuildOptions) {
res := execute("bash", "-c", value)
if res != nil {
err("Test execution returned non-zero status")
return
os.Exit(ExecuteFailed)
}
}
}
Expand Down

0 comments on commit e2b8f17

Please sign in to comment.