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

This commit is contained in:
David Finol
2021-08-28 12:48:23 -05:00
committed by GitHub
parent 19201393f1
commit 7563db4160

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;