diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-11 09:15:20 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-11 09:15:20 -0400 |
| commit | 5417e742982e3c24f5679e9952fcb88d05ee76e4 (patch) | |
| tree | b19dc462660dddc8e2ae2f40f6462ccd34a4d6de /scripts/format.sh | |
| parent | Adjust variable placement in test.sh (diff) | |
| download | cli-5417e742982e3c24f5679e9952fcb88d05ee76e4.zip | |
Add .editorconfig to remove some shfmt flags in scripts
Diffstat (limited to 'scripts/format.sh')
| -rwxr-xr-x | scripts/format.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/format.sh b/scripts/format.sh index 5a9ee8b..b6a875e 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -82,10 +82,10 @@ format_shfmt() { fi local unformatted - unformatted=$(shfmt -l -i 2 -ci scripts/) + unformatted=$(shfmt -l scripts/) if [[ -n "$unformatted" ]]; then log_step "Formatting files with shfmt..." - shfmt -w -i 2 -ci scripts/ + shfmt -w scripts/ log_success "shfmt completed" return 0 fi |