Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karanshah229 committed Oct 11, 2022
1 parent 2bfb1de commit 9e7eabf
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 @@ -23262,7 +23262,7 @@ async function main$1() {

// Set outputs
const result = pdiffLcov ? pdiffLcov < diff_threshold : null;
const resultStr = result.toString();
const resultStr = result ? result.toString() : "";
core$1.setOutput("diff_coverage", pdiffLcov);
core$1.setOutput("result", resultStr);

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async function main() {

// Set outputs
const result = pdiffLcov ? pdiffLcov < diff_threshold : null
const resultStr = result.toString()
const resultStr = result ? result.toString() : ""
core.setOutput("diff_coverage", pdiffLcov)
core.setOutput("result", resultStr)

Expand Down

0 comments on commit 9e7eabf

Please sign in to comment.