Skip to content

Commit

Permalink
Latest packages (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
eeshdarthvader authored Dec 17, 2020
1 parent 2c2f175 commit 82e8d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6040,7 +6040,7 @@ function commentForMonorepo(
el => el.packageName === lcovObj.packageName,
);

const pbefore = baseLcov ? percentage(baseLcov) : 0;
const pbefore = baseLcov ? percentage(baseLcov.lcov) : 0;
const pafter = baseLcov ? percentage(lcovObj.lcov) : 0;
const pdiff = pafter - pbefore;
const plus = pdiff > 0 ? "+" : "";
Expand Down
2 changes: 1 addition & 1 deletion src/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function commentForMonorepo(
el => el.packageName === lcovObj.packageName,
);

const pbefore = baseLcov ? percentage(baseLcov) : 0;
const pbefore = baseLcov ? percentage(baseLcov.lcov) : 0;
const pafter = baseLcov ? percentage(lcovObj.lcov) : 0;
const pdiff = pafter - pbefore;
const plus = pdiff > 0 ? "+" : "";
Expand Down

0 comments on commit 82e8d1e

Please sign in to comment.