mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
output the result of rustfmt on ci
This commit is contained in:
parent
45c0b47e6d
commit
4e8b5a7e6a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user