Merge pull request #2709 from gnzlbg/cio

output the result of rustfmt on ci
This commit is contained in:
Nick Cameron 2018-05-16 09:00:10 +12:00 committed by GitHub
commit cb6cf05446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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