Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
update to nodelint 0.5.1 for node 0.6.x compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
paularmstrong committed Oct 15, 2011
1 parent 50884e2 commit 224b54b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"express": ">=2.4.0",
"nodelint": "0.5.0",
"nodelint": "0.5.1",
"nodeunit": "0.5.5",
"uglify-js": ">=1.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 224b54b

Please sign in to comment.