From 4e8b5a7e6a9a2730f73dcf31e3bb6faa6d2701b4 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Tue, 15 May 2018 19:55:56 +0200 Subject: [PATCH] output the result of rustfmt on ci --- ci/integration.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/integration.sh b/ci/integration.sh index 8bdf8677a69..8e9e9ed2299 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