From f530a5074be442512ff7181b0c4f4a6ead293d9a Mon Sep 17 00:00:00 2001 From: neilpang Date: Wed, 9 Nov 2016 20:05:52 +0800 Subject: [PATCH] fix CI exit code --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6b71b4b..f363dbe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ script: - curl -sSL $SHFMT_URL -o ~/shfmt - chmod +x ~/shfmt - ~/shfmt -l -w -i 2 . - - git diff --exit-code || echo "Run shfmt to fix the formatting issues" + - git diff --exit-code || (echo "Run shfmt to fix the formatting issues" && false)