diff --git a/ci/fmt.sh b/ci/fmt.sh
index 697c37e0e468b51f78303d6c2caedb63c0a37d73..b1b03429a6be81eb9f313ecb4eddbe52e13b1be7 100755
--- a/ci/fmt.sh
+++ b/ci/fmt.sh
@@ -16,7 +16,7 @@ gen() {
 fmt() {
   gofmt -w -s .
   go run go.coder.com/go-tools/cmd/goimports -w "-local=$(go list -m)" .
-  go run mvdan.cc/sh/cmd/shfmt -i 2 -w -s -sr ..
+  go run mvdan.cc/sh/cmd/shfmt -i 2 -w -s -sr .
   # shellcheck disable=SC2046
   npx prettier \
     --write \