Skip to content

Commit 8e55fd5

Browse files
test
1 parent 6c5f69d commit 8e55fd5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6056,7 +6056,7 @@ const commentForMonorepo = (
60566056
) => {
60576057
const { base } = options;
60586058
const html = lcovArrayForMonorepo.map(lcovObj => {
6059-
console.log(lcovBaseArrayForMonorepo, 'lcovBaseArrayForMonorepo');
6059+
console.log(lcovBaseArrayForMonorepo, "lcovBaseArrayForMonorepo");
60606060
const baseLcov = lcovBaseArrayForMonorepo.find(
60616061
el => el.packageName === lcovObj.packageName,
60626062
);
@@ -6088,8 +6088,8 @@ const commentForMonorepo = (
60886088

60896089
if (baseLcov) {
60906090
console.log(baseLcov, "baseLcov on comment compare");
6091-
const onlyInLcov = lcovObj.lcov.filter(comparer(baseLcov));
6092-
const onlyInBefore = baseLcov.filter(comparer(lcovObj.lcov));
6091+
const onlyInLcov = lcovObj.lcov.filter(comparer(baseLcov.lcov));
6092+
const onlyInBefore = baseLcov.lcov.filter(comparer(lcovObj.lcov));
60936093
report = onlyInBefore.concat(onlyInLcov);
60946094
}
60956095

src/comment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ const commentForMonorepo = (
7070

7171
if (baseLcov) {
7272
console.log(baseLcov, "baseLcov on comment compare");
73-
const onlyInLcov = lcovObj.lcov.filter(comparer(baseLcov));
74-
const onlyInBefore = baseLcov.filter(comparer(lcovObj.lcov));
73+
const onlyInLcov = lcovObj.lcov.filter(comparer(baseLcov.lcov));
74+
const onlyInBefore = baseLcov.lcov.filter(comparer(lcovObj.lcov));
7575
report = onlyInBefore.concat(onlyInLcov);
7676
}
7777

0 commit comments

Comments
 (0)