Skip to content

Commit

Permalink
Use Explicit -mod=vendor to force go vet to use vendor dir
Browse files Browse the repository at this point in the history
Signed-off-by: hanenMizouni <[email protected]>
  • Loading branch information
outscale-hmi committed Dec 12, 2024
1 parent be757f5 commit ad3f1a6
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 @@ -131,7 +131,7 @@ fmt: ## Run go fmt against code.

.PHONY: vet
vet: ## Run go vet against code.
go vet ./...
go vet -mod=vendor ./...

.PHONY: format
format: gofmt gospace yamlspace yamlfmt
Expand Down

0 comments on commit ad3f1a6

Please sign in to comment.