diff --git a/Makefile b/Makefile index fb15b56b30..ee0be8d11b 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ install-mockgen: go install go.uber.org/mock/mockgen@latest install-golangci-lint: - @command -v golangci-lint >/dev/null 2>&1 || go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0 + @which golangci-lint || go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0 lint: install-golangci-lint ## Run linter golangci-lint run