Skip to content

Commit

Permalink
fix: Revert unintented corruption of the Makefile from #10200. (#10203)
Browse files Browse the repository at this point in the history
(cherry picked from commit 52c422a)
  • Loading branch information
srebhan authored and MyaLongmire committed Dec 8, 2021
1 parent 8c33006 commit d901351
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,17 @@ 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

golangci-lint run

ifeq (, $(shell which markdownlint-cli))
$(info markdownlint-cli can't be found, please run: make lint-install)
exit 1
endif
markdownlint-cli
@which golangci-lint >/dev/null 2>&1 || { \
echo "golangci-lint not found, please run: make lint-install"; \
exit 1; \
}
golangci-lint run

@which markdownlint >/dev/null 2>&1 || { \
echo "markdownlint not found, please run: make lint-install"; \
exit 1; \
}
markdownlint .

.PHONY: lint-branch
lint-branch:
Expand Down

0 comments on commit d901351

Please sign in to comment.