Skip to content

Commit

Permalink
Fix LINT_GOVULNCHECK_DISABLE=1 (#83)
Browse files Browse the repository at this point in the history
Fix after #70 .
  • Loading branch information
fornellas authored Aug 24, 2024
1 parent d1126dd commit be134c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ GOIMPORTS_LOCAL := $(GO_MODULE)
##

GOVULNCHECK := $(GO) run golang.org/x/vuln/cmd/govulncheck
LINT_GOVULNCHECK_DISABLE :=

##
## staticcheck
Expand Down Expand Up @@ -299,10 +300,12 @@ lint: goimports

# govulncheck

ifneq ($(LINT_GOVULNCHECK_DISABLE),1)
.PHONY: govulncheck
govulncheck: go-generate go go-mod-tidy
$(GOVULNCHECK) $(GO_MODULE)/...
lint: govulncheck
endif

# staticcheck

Expand Down

0 comments on commit be134c6

Please sign in to comment.