From 7ccf229c3731837f70f3f6dfb7a789981918d0bf Mon Sep 17 00:00:00 2001 From: hasecilu Date: Tue, 30 May 2023 20:41:20 -0600 Subject: [PATCH] Attend SC2071 error code. - See: https://www.shellcheck.net/wiki/SC2071 --- bin/scripts/test-fonts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/scripts/test-fonts.sh b/bin/scripts/test-fonts.sh index b4609d282..9f11ff6fe 100755 --- a/bin/scripts/test-fonts.sh +++ b/bin/scripts/test-fonts.sh @@ -37,7 +37,7 @@ function print-decimal-unicode-range() { local leftoverSpaces=$((wrapAt - (originalSequenceLength % wrapAt))) # add fillers to array to maintain table: - if [[ "$leftoverSpaces" < "$wrapAt" ]]; then + if [[ "$leftoverSpaces" -lt "$wrapAt" ]]; then # shellcheck disable=SC2034 # needs rework without 'i' var? for i in $(seq 1 $leftoverSpaces); do