Permalink
Browse files

hooks/pre-commit: ignore redundant $

  • Loading branch information...
1 parent b86db5f commit a34580f250a1ffe2ad38a27d6a5d7d5247e21588 @joachifm committed Feb 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 hooks/pre-commit
View
@@ -100,7 +100,7 @@ for x in `git diff-index --cached --name-only HEAD` ; do
fi
;;
*.hs)
- hlint -q -i 'Eta reduce' "$x"
+ hlint -q -i 'Redundant $' -i 'Eta reduce' "$x"
if [[ $? -ne 0 ]] ; then
echo "Commit rejected: syntax error in $x"
exit 1

0 comments on commit a34580f

Please sign in to comment.