Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
islyn committed Mar 14, 2024
1 parent 5a2aa79 commit 7f87eac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15421,6 +15421,7 @@ class DiffChecker {
const newFileWithoutCoverage = noOldCoverage && noNewCoverage && this.checkOnlyAddedFiles(file);
const fileCoverageChanged = values.some((part) => part.oldPct !== part.newPct && !this.isDueToRemovedLines(part));

console.log(file, values, fileCoverageChanged, newFileWithoutCoverage)
if (newFileWithoutCoverage || fileCoverageChanged) {
return 1;
}
Expand Down
1 change: 1 addition & 0 deletions src/DiffChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ export class DiffChecker {
const newFileWithoutCoverage = noOldCoverage && noNewCoverage && this.checkOnlyAddedFiles(file);
const fileCoverageChanged = values.some((part) => part.oldPct !== part.newPct && !this.isDueToRemovedLines(part));

console.log(file, values, fileCoverageChanged, newFileWithoutCoverage)
if (newFileWithoutCoverage || fileCoverageChanged) {
return 1;
}
Expand Down

0 comments on commit 7f87eac

Please sign in to comment.