From 486220c4653ac5269cd1e801b16233d16563bab0 Mon Sep 17 00:00:00 2001 From: KurbyDoo Date: Sat, 22 Aug 2026 02:23:05 -0400 Subject: [PATCH] change default value for empty val --- scripts/format-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/format-check.sh b/scripts/format-check.sh index c7f3ec4..ad0bee0 100755 --- a/scripts/format-check.sh +++ b/scripts/format-check.sh @@ -46,7 +46,7 @@ fi echo echo "==> Checking code style (ruff check)" -if ! uv run ruff check "${check_format[@]:-}" .; then +if ! uv run ruff check ${check_format[@]+"${check_format[@]}"} .; then echo echo "Found style problems. Many can be fixed automatically with:" >&2 echo " scripts/format-check.sh --fix" >&2