mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 01:46:09 +00:00
Fix 0 delta results in size_regression.sh (#17457)
This commit is contained in:
parent
666cba5c2e
commit
aaaf3ff66a
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ function build_executor() {
|
|||
|
||||
if [[ -n "$last_line" ]] ; then
|
||||
size_delta=$(( $last_size - $file_size ))
|
||||
if { [[ -n "${skip_zero:-}" ]] && [[ $size_delta -ne 0 ]] ; } || [[ $file_size -eq 0 ]] ; then
|
||||
if { [[ -n "${skip_zero:-}" ]] && [[ $size_delta -ne 0 ]] ; } || [[ -z "${skip_zero:-}" ]] || [[ $file_size -eq 0 ]] ; then
|
||||
printf "Size: %8d, delta: %+6d -- %s\n" "$last_size" "$size_delta" "$last_line"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue