Skip to content

Commit

Permalink
Fix coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
lukfor committed Jun 13, 2024
1 parent 5bfd088 commit f7b4d41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h1>Coverage Report</h1>
<p>This report was generated by <a href="https://www.nf-test.com">nf-test</a> on <%= new Date() %>.</p>
<p>
Coverage: <span class="badge <%= coverage.getCoverage() < 0.5 ? 'bg-danger' : (coverage.getCoverage() < 0.9 ? 'bg-warning' : 'bg-success') %>"><%= coverage.formatCoverage(coverage.getCoverage()) %></span>
Coverage: <span class="badge <%= coverage.getCoverage() < 0.5 ? 'badge-danger' : (coverage.getCoverage() < 0.9 ? 'badge-warning' : 'badge-success') %>"><%= coverage.formatCoverage(coverage.getCoverage()) %></span>
</p>

<div class="progress bg-danger">
Expand Down

0 comments on commit f7b4d41

Please sign in to comment.