fix: update makefile indents to not always run which (#10126)

This commit is contained in:
Joshua Powers 2021-11-18 15:10:07 -07:00 committed by GitHub
parent 8710d2353e
commit a439841015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -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