mirror of
https://github.com/wassname/ray.git
synced 2026-07-30 12:30:30 +08:00
Fix linting error on master (#4377)
This commit is contained in:
committed by
Robert Nishihara
parent
f8d12b0418
commit
93d9867290
@@ -8,7 +8,7 @@ else
|
||||
base_commit="$TRAVIS_BRANCH"
|
||||
echo "Running clang-format against branch $base_commit, with hash $(git rev-parse $base_commit)"
|
||||
fi
|
||||
output="$(ci/travis/git-clang-format --binary clang-format-3.8 --commit $base_commit --diff --exclude '(.*thirdparty/|.*redismodule.h|.*.js)')"
|
||||
output="$(ci/travis/git-clang-format --binary clang-format-3.8 --commit $base_commit --diff --exclude '(.*thirdparty/|.*redismodule.h|.*.js|.*.java)')"
|
||||
if [ "$output" == "no modified files to format" ] || [ "$output" == "clang-format did not modify any files" ] ; then
|
||||
echo "clang-format passed."
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user