aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-10-11 00:44:10 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-10-11 00:44:10 -0400
commit9b385edb3e06beb3677acf66bd34f27dc96c8908 (patch)
tree6c0ee1ea1d6b248107a1cb1c3610fcdeb312b582
parentAdd lint and format scripts with lint job (diff)
downloadcli-9b385edb3e06beb3677acf66bd34f27dc96c8908.zip
Run shfmt
-rwxr-xr-xscripts/format.sh24
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"