diff --git a/ci/integration.sh b/ci/integration.sh index 8bdf8677a699..8e9e9ed2299b 100755 --- a/ci/integration.sh +++ b/ci/integration.sh @@ -23,6 +23,7 @@ echo "Integration tests for: ${INTEGRATION}" function check_fmt { cargo fmt --all -v -- --error-on-unformatted &> rustfmt_output if [[ $? != 0 ]]; then + cat rustfmt_output return 1 fi cat rustfmt_output