Skip to content

Commit

Permalink
improve final report messages
Browse files Browse the repository at this point in the history
  • Loading branch information
waldyrious committed Apr 28, 2016
1 parent fa5913f commit 622c5b9
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 622c5b9

Please sign in to comment.