Skip to content
Browse files

Fixing 'filename' for summary data.

  • Loading branch information...
1 parent bb189c4 commit 194647ca5de7d9f98bcd2edcef8e307a42dd4f14 Jeff Jagoda committed Aug 26, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 bin/cover
View
6 bin/cover
@@ -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 194647c

Please sign in to comment.
Something went wrong with that request. Please try again.