Skip to content

Commit 82e8d1e

Browse files
Latest packages (#10)
1 parent 2c2f175 commit 82e8d1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6040,7 +6040,7 @@ function commentForMonorepo(
60406040
el => el.packageName === lcovObj.packageName,
60416041
);
60426042

6043-
const pbefore = baseLcov ? percentage(baseLcov) : 0;
6043+
const pbefore = baseLcov ? percentage(baseLcov.lcov) : 0;
60446044
const pafter = baseLcov ? percentage(lcovObj.lcov) : 0;
60456045
const pdiff = pafter - pbefore;
60466046
const plus = pdiff > 0 ? "+" : "";

src/comment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function commentForMonorepo(
1818
el => el.packageName === lcovObj.packageName,
1919
);
2020

21-
const pbefore = baseLcov ? percentage(baseLcov) : 0;
21+
const pbefore = baseLcov ? percentage(baseLcov.lcov) : 0;
2222
const pafter = baseLcov ? percentage(lcovObj.lcov) : 0;
2323
const pdiff = pafter - pbefore;
2424
const plus = pdiff > 0 ? "+" : "";

0 commit comments

Comments
 (0)