Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 6f860f4

Browse files
committed
workaround to fix linter problem related to the ruleguard, more details here: golangci/golangci-lint#3107
1 parent ecee07d commit 6f860f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ install-linter: ## Installs the linter
5252

5353
.PHONY: lint
5454
lint: ## Runs the linter
55-
$$(go env GOPATH)/bin/golangci-lint run
55+
export "GOROOT=$$(go env GOROOT)" && $$(go env GOPATH)/bin/golangci-lint run
5656

5757
.PHONY: update-external-dependencies
5858
update-external-dependencies: ## Updates external dependencies like images, test vectors or proto files

0 commit comments

Comments
 (0)