Skip to content

Commit

Permalink
order of ops in measure
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jul 31, 2024
1 parent 4bd8df1 commit db1a463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/measure-coverage.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if {[ev GITHUB_BASE_REF base]} {
set diff_lines [exec jq .total_num_lines diff-cover.json]
set diff_bad [exec jq .total_num_violations diff-cover.json]
if {$diff_lines > 0} {
set diff_cov [expr {100 - ($diff_bad / $diff_lines) * 100}]
set diff_cov [expr {100 - (($diff_bad / $diff_lines) * 100)}]
} else {
set diff_cov NA
}
Expand Down

0 comments on commit db1a463

Please sign in to comment.