Browse Source

fix CI exit code

pull/375/head
neilpang 8 years ago
parent
commit
f530a5074b
  1. 2
      .travis.yml

2
.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)
Loading…
Cancel
Save