Skip to content

Commit

Permalink
Simple fix for not showing OK message when there are errors and force
Browse files Browse the repository at this point in the history
option hasn't been used.
  • Loading branch information
danielkcz authored and vojtajina committed Dec 9, 2013
1 parent c3477c0 commit ceb4ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/coffeelint.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = function(grunt) {
return false;
}

if (!warnCount) {
if (!warnCount && !errorCount) {
grunt.log.ok(files.length + ' file' + (files.length === 1 ? '' : 's') + ' lint free.');
}
});
Expand Down

0 comments on commit ceb4ca6

Please sign in to comment.