Permalink
Browse files

Merge branch 'dev' into feature/timezone

  • Loading branch information...
2 parents 718e587 + 62f1c47 commit 3ff76ea8a2c9a2bce642998c0723ed0bf159cb6f @paularmstrong committed Dec 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/githooks/pre-commit
@@ -32,7 +32,7 @@ done
echo 'Running JSLint...'
result=$(make lint)
-if ! egrep "[^\d]0 errors" <<< $result; then
+if ! egrep "^0 errors" <<< $result; then
num=$(grep "[0-9]+ error" <<< "$result")
testFail "JSLint: $num"
echo "$result"

0 comments on commit 3ff76ea

Please sign in to comment.