浏览代码

fix CI exit code

neilpang 9 年之前
父节点
当前提交
f530a5074b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .travis.yml

+ 1 - 1
.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)