diff --git a/Makefile b/Makefile index 455c308dad..2a7e5966b3 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ fmt: ## Format source code .PHONY: check check: ## Perform static code analysis -check: .check-go-version .check-copyright .check-comments .check-errors-wrap \ +check: .check-go-version .check-copyright .check-comments \ .check-log-capital-letter .check-timeutc .check-lint .check-vendor .PHONY: .check-go-version @@ -59,13 +59,6 @@ check: .check-go-version .check-copyright .check-comments .check-errors-wrap \ (echo $$f $$e; false); \ done -.PHONY: .check-errors-wrap -.check-errors-wrap: - @set -e; for f in `$(GOFILES)`; do \ - ! e=`grep -n -E 'errors\.(Errorf|New|Wrap|Wrapf)' $$f | grep -E '("| )fail'` || \ - (echo $$f $$e; false); \ - done - .PHONY: .check-log-capital-letter .check-log-capital-letter: @set -e; for f in `$(GOFILES)`; do \