Skip to content

Commit ef3ca43

Browse files
committed
wip
Signed-off-by: Ashley Davis <[email protected]>
1 parent afc14e5 commit ef3ca43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

make/_shared/go/01_mod.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,14 @@ shared_generate_targets += generate-govulncheck
9898
verify-govulncheck: | $(NEEDS_GOVULNCHECK)
9999
@find . -name go.mod -not \( -path "./$(bin_dir)/*" -or -path "./make/_shared/*" \) \
100100
| while read d; do \
101+
set -x ; \
101102
target=$$(dirname $${d}); \
102-
echo "Running 'GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(bin_dir)/tools/govulncheck ./...' in directory '$${target}'"; \
103+
echo "Running 'GOPRIVATE=$(govulncheck_goprivate) GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(bin_dir)/tools/govulncheck ./...' in directory '$${target}'"; \
103104
pushd "$${target}" >/dev/null; \
104105
GOPRIVATE=$(govulncheck_goprivate) GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(GOVULNCHECK) ./... || exit; \
105106
popd >/dev/null; \
106107
echo ""; \
108+
set +x ; \
107109
done
108110

109111
ifdef golangci_lint_config

0 commit comments

Comments
 (0)