Permalink
Browse files

update to nodelint 0.5.2

  • Loading branch information...
1 parent 70a62b0 commit 47c7a4f78bf7e3eef03da25a956090342d874413 @paularmstrong committed Dec 11, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 package.json
  2. +1 −1 scripts/githooks/pre-commit
View
@@ -9,7 +9,7 @@
"dependencies": {
"nopt": ">=1.0.8",
"bench": ">=0.3.2",
- "nodelint": "0.5.0",
+ "nodelint": "0.5.2",
"underscore": ">=1.1.7",
"coffeekup": "0.3.0",
"dust": "0.3.0",
@@ -32,7 +32,7 @@ done
echo 'Running JSLint...'
result=$(make lint)
-if ! grep -q "^0 errors" <<< $result; then
+if ! grep -q "[^\d]0 errors" <<< $result; then
num=$(grep "[0-9] error" <<< "$result")
testFail "JSLint: $num"
echo "$result"

0 comments on commit 47c7a4f

Please sign in to comment.