Skip to content

Commit 6e3dadd

Browse files
committed
Explicitly specify shfmt indent
It looks like the shfmt v3.12.0 update has broken the .editorconfig lookup in the repo root directory. Specifying the indent explicitly for now. Signed-off-by: Jan Dubois <jan.dubois@suse.com>
1 parent 99542af commit 6e3dadd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bats/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ lint:
1919
find tests -name '*.bash' | xargs shellcheck -s bash -e $(SC_EXCLUDES)
2020
find tests -name '*.bats' | xargs shellcheck -s bash -e $(SC_EXCLUDES)
2121
find scripts -name '*.sh' | xargs shellcheck -s bash -e $(SC_EXCLUDES)
22-
find tests -name '*.bash' | xargs shfmt -s -d
23-
find tests -name '*.bats' | xargs shfmt -s -d
24-
find scripts -name '*.sh' | xargs shfmt -s -d
22+
find tests -name '*.bash' | xargs shfmt --simplify --diff --indent 4
23+
find tests -name '*.bats' | xargs shfmt --simplify --diff --indent 4
24+
find scripts -name '*.sh' | xargs shfmt --simplify --diff --indent 4
2525

2626
DEPS = bin/darwin/jq bin/linux/jq
2727

0 commit comments

Comments
 (0)