From ae97728280855bd20b59fbbf82d17d9f44a04896 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Mon, 7 Jul 2025 21:25:48 +0000 Subject: [PATCH] Fix style.sh unset variable when run locally --- ci/style.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/style.sh b/ci/style.sh index 9b7c1ed26b05e..4e425f8806000 100755 --- a/ci/style.sh +++ b/ci/style.sh @@ -58,7 +58,7 @@ rm "$tmpfile" # Run once from workspace root to get everything that wasn't handled as an # individual file. -cargo fmt "$check" +cargo fmt ${check:+"$check"} # Ensure that `sort` output is not locale-dependent export LC_ALL=C