diff --git a/Makefile b/Makefile index 52362a307..7acd336cb 100644 --- a/Makefile +++ b/Makefile @@ -148,26 +148,26 @@ lint-install: .PHONY: lint lint: -ifeq (, $(shell which golangci-lint)) - $(info golangci-lint can't be found, please run: make lint-install) - exit 1 -endif + ifeq (, $(shell which golangci-lint)) + $(info golangci-lint can't be found, please run: make lint-install) + exit 1 + endif golangci-lint run -ifeq (, $(shell which markdownlint-cli)) - $(info markdownlint-cli can't be found, please run: make lint-install) - exit 1 -endif + ifeq (, $(shell which markdownlint)) + $(info markdownlint can't be found, please run: make lint-install) + exit 1 + endif markdownlint-cli .PHONY: lint-branch lint-branch: -ifeq (, $(shell which golangci-lint)) - $(info golangci-lint can't be found, please run: make lint-install) - exit 1 -endif + ifeq (, $(shell which golangci-lint)) + $(info golangci-lint can't be found, please run: make lint-install) + exit 1 + endif golangci-lint run --new-from-rev master