diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-11 00:44:10 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-11 00:44:10 -0400 |
| commit | 9b385edb3e06beb3677acf66bd34f27dc96c8908 (patch) | |
| tree | 6c0ee1ea1d6b248107a1cb1c3610fcdeb312b582 /scripts/format.sh | |
| parent | Add lint and format scripts with lint job (diff) | |
| download | cli-9b385edb3e06beb3677acf66bd34f27dc96c8908.zip | |
Run shfmt
Diffstat (limited to 'scripts/format.sh')
| -rwxr-xr-x | scripts/format.sh | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/scripts/format.sh b/scripts/format.sh index c91254e..5a9ee8b 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -26,18 +26,18 @@ main() { if [[ -n "$formatter" ]]; then case "$formatter" in - gofmt) - format_gofmt - ;; - shfmt) - format_shfmt - ;; - *) - log_error "Invalid formatter: $formatter" - log_newline - usage - exit 1 - ;; + gofmt) + format_gofmt + ;; + shfmt) + format_shfmt + ;; + *) + log_error "Invalid formatter: $formatter" + log_newline + usage + exit 1 + ;; esac else log_header "Running all formatters" |