From db1a463bde20870eee44f32a965b722e80fbb26b Mon Sep 17 00:00:00 2001 From: Michael Ekstrand Date: Wed, 31 Jul 2024 14:46:27 -0400 Subject: [PATCH] order of ops in measure --- utils/measure-coverage.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/measure-coverage.tcl b/utils/measure-coverage.tcl index 48d9b7f2a..fafeeac8d 100755 --- a/utils/measure-coverage.tcl +++ b/utils/measure-coverage.tcl @@ -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 }