Permalink
Browse files

Merge pull request #48 from jboonstra/fix-warning-typo

Fixes success message shown if there are warnings. Thanks @jboonstra!
  • Loading branch information...
2 parents a3e9c9d + 0705fd6 commit ff4d547a820f74f2325a4d35b1088e7367b30d2f @uipoet committed Apr 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 reporter.js
View
2 reporter.js
@@ -78,7 +78,7 @@ module.exports = {
}
}
- if (!errorLength && !errorLength) {
+ if (!errorLength && !warningLength) {
console.log('✓ JSHint PASSED! (no Errors or Warnings)');
}

0 comments on commit ff4d547

Please sign in to comment.