Skip to content

Commit d1b3bdf

Browse files
committed
use modfile flag for go tool
1 parent 142d659 commit d1b3bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ bump-version-file:
666666

667667
.PHONY: api-docs
668668
api-docs:
669-
cd tools/toolbox && go tool crdoc --resources ../../config/crd/bases --output ../../docs/api-docs.md
669+
go tool -modfile=tools/toolbox/go.mod crdoc --resources config/crd/bases --output docs/api-docs.md
670670

671671
.PHONY: validate-api-docs
672672
validate-api-docs: api-docs

0 commit comments

Comments
 (0)