Skip to content

Commit 46c32ca

Browse files
committed
chore: shfmt --diff to --write for autofix
1 parent ab6b77c commit 46c32ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ repos:
5252
name: shfmt
5353
entry: shfmt
5454
language: system
55-
args: [--diff, --indent, '2', --case-indent, --binary-next-line]
55+
args: [--write, --indent, '2', --case-indent, --binary-next-line]
5656
types: [shell]
5757
- id: bash-syntax
5858
name: bash syntax check

0 commit comments

Comments
 (0)