Skip to content

Commit b1bceca

Browse files
committed
fix golangci-lint in makefile
Signed-off-by: Michael Gnehr <[email protected]>
1 parent 1ec0ef8 commit b1bceca

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
@@ -469,6 +469,6 @@ pr:
469469
.PHONY: golangci-lint
470470
golangci-lint:
471471
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
472-
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.16.0; \
472+
export BINARY="golangci-lint" & curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.16.0; \
473473
fi
474474
golangci-lint run

0 commit comments

Comments
 (0)