We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a98f4c6 commit c7d763bCopy full SHA for c7d763b
Makefile
@@ -19,7 +19,7 @@ vet:
19
go vet sigs.k8s.io/json
20
21
@echo "checking for external dependencies"
22
- @deps=$$(go mod graph); \
+ @deps=$$(go list -f '{{ if not (or .Standard .Module.Main) }}{{.ImportPath}}{{ end }}' -deps sigs.k8s.io/json/... || true); \
23
if [ -n "$${deps}" ]; then \
24
echo "only stdlib dependencies allowed, found:"; \
25
echo "$${deps}"; \
0 commit comments