Use exit code to fail when code compile fails (#143)

pull/144/head v2.0-alpha-6
David Finol 2021-08-28 12:48:23 -05:00 committed by GitHub
parent 19201393f1
commit 7563db4160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,6 +42,6 @@ fi;
# Exit with code from the build step.
#
if [ $USE_EXIT_CODE = true ]; then
if [[ $USE_EXIT_CODE == true || $TEST_RUNNER_EXIT_CODE -ne 2 ]]; then
exit $TEST_RUNNER_EXIT_CODE
fi;