Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1403 from lscheinkman/NUP-2495
Browse files Browse the repository at this point in the history
NUP-2495: Fix bamboo style check
  • Loading branch information
lscheinkman committed Mar 9, 2018
2 parents a8fd7d2 + bfe6ed1 commit d72f0ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/bamboo/check-style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@

set -o errexit

if git clang-format --diff -- | grep -q '^diff'
if git clang-format --diff master | grep -q '^diff'
then
echo "ERROR: Code changes do not comply with the clang-format rules."
echo "ERROR: Code changes do not comply with numenta's code style rules."
echo "Please run 'git clang-format' before commit."
git clang-format --diff master
exit 1
fi

exit 0

0 comments on commit d72f0ef

Please sign in to comment.