diff options
| author | cainus <[email protected]> | 2013-03-28 01:01:06 -0700 |
|---|---|---|
| committer | cainus <[email protected]> | 2013-03-28 01:01:06 -0700 |
| commit | 67effe59fbaefa65e69f5326c8bcd867537aea00 (patch) | |
| tree | becadb4f1ca17c906a997f039babc5214f111018 /lib | |
| parent | c04a6beffc37a0c8fa3a06e628d95f11366db915 (diff) | |
| download | node-coveralls-67effe59fbaefa65e69f5326c8bcd867537aea00.tar.xz node-coveralls-67effe59fbaefa65e69f5326c8bcd867537aea00.zip | |
fix README. fix off-by-one error. version bump 2.0.4.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/convertLcovToCoveralls.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/convertLcovToCoveralls.js b/lib/convertLcovToCoveralls.js index c390aab..14d637e 100644 --- a/lib/convertLcovToCoveralls.js +++ b/lib/convertLcovToCoveralls.js @@ -6,7 +6,7 @@ var path = require('path'); var detailsToCoverage = function(length, details){ var coverage = new Array(length); details.forEach(function(obj){ - coverage[obj.line] = obj.hit; + coverage[obj.line - 1] = obj.hit; }); return coverage; }; |
