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.
This commit is contained in:
alex authored and Alex Zenla committed 2026-09-26 20:52:15 -07:00
1 parent 2b8113f103
commit 406ad8dede
1 file changed
+2
+2
View File
@@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
# Without globstar, ** matches like *, so only scripts one directory deep are formatted.
shopt -s globstar
cd "$(dirname "${0}")/.." || exit 1 cd "$(dirname "${0}")/.." || exit 1