From 406ad8dedec3f008676e4ca342f97e6eef482de0 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sat, 26 Sep 2026 20:24:56 -0700 Subject: [PATCH] fix(hack): format every shell script in hack format.sh ran shfmt on hack/**/*.sh without enabling globstar, so ** only matched a single directory. Scripts directly in hack and in deeper directories like hack/dev/kernel were never formatted. --- hack/format.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/format.sh b/hack/format.sh index 89575f8..60b5636 100755 --- a/hack/format.sh +++ b/hack/format.sh @@ -1,5 +1,7 @@ #!/bin/bash set -e +# Without globstar, ** matches like *, so only scripts one directory deep are formatted. +shopt -s globstar cd "$(dirname "${0}")/.." || exit 1