Skip to content

Commit

Permalink
update format script
Browse files Browse the repository at this point in the history
  • Loading branch information
yedf2 committed Apr 13, 2022
1 parent 88ddfc7 commit 216e2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis/check-git-clang-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ else
base_commit="HEAD^"
fi

output="$(sudo python .travis/git-clang-format --binary clang-format-3.8 --commit $base_commit --diff)"
output="$(sudo python2.7 .travis/git-clang-format --binary clang-format-11 --commit $base_commit --diff)"

if [ "$output" == "no modified files to format" ] || [ "$output" == "clang-format did not modify any files" ] ; then
echo "clang-format passed."
Expand Down

0 comments on commit 216e2e1

Please sign in to comment.