From aa8890cf9e2800c5be407f10b8a54c4fa671a1ac Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Tue, 21 Mar 2023 16:51:28 -0400 Subject: [PATCH] fix: golangci-installer removes wrong binary (#1785) Signed-off-by: Artur Troian --- make/setup-cache.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/setup-cache.mk b/make/setup-cache.mk index d1d9f156c8..db977dbec6 100644 --- a/make/setup-cache.mk +++ b/make/setup-cache.mk @@ -79,7 +79,7 @@ $(MOCKERY): $(MOCKERY_VERSION_FILE) $(GOLANGCI_LINT_VERSION_FILE): $(AKASH_DEVCACHE) @echo "installing golangci-lint $(GOLANGCI_LINT_VERSION) ..." - rm -f $(MOCKERY) + rm -f $(GOLANGCI_LINT) GOBIN=$(AKASH_DEVCACHE_BIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION) rm -rf "$(dir $@)" mkdir -p "$(dir $@)"