Permalink
Browse files

Merge pull request #39 from jagoda/master

Fixing 'filename' for summary data.
  • Loading branch information...
2 parents bb189c4 + 194647c commit ffedd47be9dd5b4fea4aa14253dbfeec8fefa1e5 @itay committed Aug 26, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 bin/cover
View
@@ -352,7 +352,6 @@
var coverageData = JSON.parse(data);
var overall = {
- filename: 'Overall',
missing : 0,
seen : 0,
total : 0,
@@ -376,7 +375,10 @@
overall.percentage = overall.seen / overall.total;
overall.blocks.percentage = overall.blocks.seen / overall.blocks.total;
- coverageData.overall = {stats: function() { return overall; }};
+ coverageData.overall = {
+ filename: 'Overall',
+ stats: function() { return overall; }
+ };
return coverageData;
};

0 comments on commit ffedd47

Please sign in to comment.