[skip ci] Update CONTRIBUTING.md to include correct pre-commit hook
This commit is contained in:
parent
75d6f59026
commit
3141eb5dce
@ -18,7 +18,7 @@ if [ x"$remote" = xorigin ] ; then
|
|||||||
echo "Rejected push to $remote/master" ; exit 1
|
echo "Rejected push to $remote/master" ; exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./scripts/format.sh
|
./scripts/format.sh && ./scripts/error_on_dirty.sh
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
echo "Unstaged format changes" ; exit 1
|
echo "Unstaged format changes" ; exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user