Run formatting with -s as CI will validate that this has been done

pull/17604/head
Matt Keeler 2023-06-12 10:53:52 -04:00
parent ad6652a47b
commit 7a1e99b6b7
2 changed files with 2 additions and 2 deletions

View File

@ -337,7 +337,7 @@ fmt: $(foreach mod,$(GO_MODULES),fmt/$(mod))
.PHONY: fmt/%
fmt/%:
@echo "--> Running go fmt ($*)"
@cd $* && go fmt ./...
@cd $* && gofmt -s -l -w .
.PHONY: lint
lint: $(foreach mod,$(GO_MODULES),lint/$(mod)) lint-container-test-deps