try harder to print output

This commit is contained in:
gnzlbg 2018-05-18 10:46:14 +02:00
parent 5fb987fff8
commit c6c654517b

View File

@ -21,7 +21,7 @@ cargo install --force
echo "Integration tests for: ${INTEGRATION}"
function check_fmt {
cargo fmt --all -v &> rustfmt_output
cargo fmt --all -v 2>&1 | tee rustfmt_output
if [[ $? != 0 ]]; then
cat rustfmt_output
return 1