Skip to content

Commit

Permalink
Merge pull request #129 from waldyrious/patch-1
Browse files Browse the repository at this point in the history
improve final report messages
  • Loading branch information
yaniswang committed May 1, 2016
2 parents 3c39073 + 622c5b9 commit 76c5c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/formatters/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ var defaultFormatter = function(formatter, HTMLHint, options){
var time = event.time;
var message;
if(allHintCount > 0){
message = 'Scan %d files, found %d errors in %d files (%d ms)';
message = 'Scanned %d files, found %d errors in %d files (%d ms)';
console.log(nocolor ? message : message.red, allFileCount, allHintCount, allHintFileCount, time);
}
else{
message = 'Scan %d files, without errors (%d ms).';
message = 'Scanned %d files, no errors found (%d ms).';
console.log(nocolor ? message : message.green, allFileCount, time);
}
});
Expand Down

0 comments on commit 76c5c2c

Please sign in to comment.