Skip to content

Commit

Permalink
fix format syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jul 24, 2024
1 parent b21f7f1 commit 2e06a30
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions utils/coverage-log.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ if {[ev GITHUB_BASE_REF base]} {
set reph [open lenskit-coverage/report.md w]
puts $reph "The GitHub 🤖 has run the tests on your PR.\n"
if {$diff_cov eq "NA"} {
puts $reph [format
"Covered **no lines** of diff (coverage changed **%.2f%%** from %.2f%% to %.2f%%).\n"
$cov_change $prev_cov $cur_cov
puts $reph [format \
"Covered **no lines** of diff (coverage changed **%.2f%%** from %.2f%% to %.2f%%).\n" \
$cov_change $prev_cov $cur_cov \
]
} else {
puts $reph [format
"Covered **%.2f%%** of diff (coverage changed **%.2f%%** from %.2f%% to %.2f%%).\n"
$diff_cov $cov_change $prev_cov $cur_cov
puts $reph [format \
"Covered **%.2f%%** of diff (coverage changed **%.2f%%** from %.2f%% to %.2f%%).\n" \
$diff_cov $cov_change $prev_cov $cur_cov \
]
}

Expand Down

0 comments on commit 2e06a30

Please sign in to comment.