Skip to content

Commit

Permalink
fix: Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
karanshah229 committed Oct 11, 2022
1 parent 51d3a25 commit 73f03de
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 @@ -23043,7 +23043,7 @@ function diff(headLcov, baseLcov, diffLcov, options) {
title = `✅ No files changed.`;
}

const showFilesCoverage = options.files_changed.length === 0;
const showFilesCoverage = diffLcov.length !== 0;
return {
fragment: fragment(
options.title ? h4(options.title) : h4(title),
Expand Down
2 changes: 1 addition & 1 deletion src/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function diff(headLcov, baseLcov, diffLcov, options) {
title = `✅ No files changed.`
}

const showFilesCoverage = options.files_changed.length === 0
const showFilesCoverage = diffLcov.length !== 0
return {
fragment: fragment(
options.title ? h4(options.title) : h4(title),
Expand Down

0 comments on commit 73f03de

Please sign in to comment.