Skip to content

Commit

Permalink
Update external dependency check
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed Oct 8, 2024
1 parent a98f4c6 commit c7d763b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ vet:
go vet sigs.k8s.io/json

@echo "checking for external dependencies"
@deps=$$(go mod graph); \
@deps=$$(go list -f '{{ if not (or .Standard .Module.Main) }}{{.ImportPath}}{{ end }}' -deps sigs.k8s.io/json/... || true); \
if [ -n "$${deps}" ]; then \
echo "only stdlib dependencies allowed, found:"; \
echo "$${deps}"; \
Expand Down

0 comments on commit c7d763b

Please sign in to comment.