Skip to content

Commit eb5c22d

Browse files
committed
Fix version calculation in make lint
Signed-off-by: Stefan Büringer [email protected]
1 parent 31b3724 commit eb5c22d

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
@@ -1204,7 +1204,7 @@ $(YQ):
12041204
$(GOLANGCI_LINT): .github/workflows/golangci-lint.yml # Download golangci-lint using hack script into tools folder.
12051205
hack/ensure-golangci-lint.sh \
12061206
-b $(TOOLS_BIN_DIR) \
1207-
$(shell cat .github/workflows/golangci-lint.yml | grep [[:space:]]version | sed 's/.*version: //')
1207+
$(shell cat .github/workflows/golangci-lint.yml | grep [[:space:]]version: | sed 's/.*version: //')
12081208

12091209
$(GINKGO): # Build ginkgo from tools folder.
12101210
GOBIN=$(TOOLS_BIN_DIR) $(GO_INSTALL) $(GINKGO_PKG) $(GINKGO_BIN) $(GINGKO_VER)

0 commit comments

Comments
 (0)