File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
.github/workflows/scripts
lib/node_modules/@stdlib/assert/is-strict-equal/lib Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -121,10 +121,10 @@ compare_cov() {
121
121
new_cov_value=" $2 "
122
122
123
123
if [ " $old_cov_value " == 0 ]; then
124
- new_cov_percentage=$( awk " BEGIN {printf \" %.1f \" , $new_cov_value *100}" )
124
+ new_cov_percentage=$( awk " BEGIN {printf \" %.2f \" , $new_cov_value *100}" )
125
125
echo " \$\\\\ color{green}+$new_cov_percentage \\\\ %\$ "
126
126
else
127
- percentage_change=$( awk " BEGIN {printf \" %.1f \" , (($new_cov_value - $old_cov_value ) / $old_cov_value ) * 100}" )
127
+ percentage_change=$( awk " BEGIN {printf \" %.2f \" , (($new_cov_value - $old_cov_value ) / $old_cov_value ) * 100}" )
128
128
color=" green"
129
129
sign=" "
130
130
if [ $( awk " BEGIN {if ($percentage_change > 0) print 1; else print 0}" ) -eq 1 ]; then
@@ -192,7 +192,7 @@ main() {
192
192
cov_change_functions=$( compare_cov " $old_functions_cov " " $pkg_functions_cov " )
193
193
cov_change_lines=$( compare_cov " $old_lines_cov " " $pkg_lines_cov " )
194
194
195
- pkg_cov=" | $pkg_statements_cov_fraction (Δ $cov_change_statements ) | $pkg_branches_cov_fraction (Δ $cov_change_branches ) | $pkg_functions_cov_fraction (Δ $cov_change_functions ) | $pkg_lines_cov_fraction (Δ $cov_change_lines ) |"
195
+ pkg_cov=" | $pkg_statements_cov_fraction <br> $cov_change_statements | $pkg_branches_cov_fraction <br> $cov_change_branches | $pkg_functions_cov_fraction <br> $cov_change_functions | $pkg_lines_cov_fraction <br> $cov_change_lines |"
196
196
197
197
pkg_url=" https://github.com/${github_repo} /tree/${github_ref} /${package} "
198
198
pkg_link=" <a href=" $pkg_url " >$pkg </a>"
Original file line number Diff line number Diff line change 27
27
*
28
28
* - In contrast to the strict equality operator `===`, `-0` and `+0` are distinguishable.
29
29
*
30
- *
31
30
* @param {* } a - first input value
32
31
* @param {* } b - second input value
33
32
* @returns {boolean } boolean indicating whether two arguments are strictly equal
You can’t perform that action at this time.
0 commit comments