diff --git a/Makefile b/Makefile index e62c7165..3a45230a 100644 --- a/Makefile +++ b/Makefile @@ -122,7 +122,7 @@ ensure-govulncheck: @ls $(GOPATH)/bin/govulncheck 1>/dev/null || go install golang.org/x/vuln/cmd/govulncheck@${GOVULNCHECK_VERSION} scan: ensure-govulncheck - @output=$$(govulncheck ./... 2>&1); \ + @output=$$($(GOPATH)/bin/govulncheck ./... 2>&1); \ echo "$$output"; \ if echo "$$output" | grep -q "Vulnerability"; then \ echo "Note: Detected vulnerabilities (non-blocking for now). Consider updating vulnerable Go packages to their fixed versions."; \