mirror of https://github.com/hashicorp/consul
Run formatting with -s as CI will validate that this has been done
parent
ad6652a47b
commit
7a1e99b6b7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue