We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e0cf88 commit aa09117Copy full SHA for aa09117
hooks/precommit
@@ -39,11 +39,10 @@ if [ "$CHANGED_RULESETS" ]; then
39
continue
40
fi
41
42
- # Errors will go to stderr.
43
- ./utils/trivial-validate.py $FILE > /dev/null
+ ./utils/trivial-validate.py --quiet $FILE
44
RESULT=$?
45
46
- if [ $RESULT -eq 1 ]; then
+ if [ $RESULT -ne 0 ]; then
47
echo "$(date -R): Failure encountered during ruleset validation."
48
exit $RESULT
49
0 commit comments