Permalink
Browse files

Fixes success message shown if there are warnings.

  • Loading branch information...
1 parent a3e9c9d commit 0705fd65d019cdf6a9fb35489b4d60cd09ec6f5c @jboonstra jboonstra committed Apr 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 reporter.js
View
@@ -78,7 +78,7 @@ module.exports = {
}
}
- if (!errorLength && !errorLength) {
+ if (!errorLength && !warningLength) {
console.log('✓ JSHint PASSED! (no Errors or Warnings)');
}

0 comments on commit 0705fd6

Please sign in to comment.