aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/format.sh')
-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"