Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #39 from jagoda/master

Fixing 'filename' for summary data.
  • Loading branch information...
commit ffedd47be9dd5b4fea4aa14253dbfeec8fefa1e5 2 parents bb189c4 + 194647c
Itay Neeman authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 bin/cover
6 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;
};
Please sign in to comment.
Something went wrong with that request. Please try again.