Skip to content

Commit

Permalink
Invoke go fmt with mod=vendor
Browse files Browse the repository at this point in the history
This removes network loads until `go fmt` stops trying to download those resources. golang/go#27841 has more information.
  • Loading branch information
jkohen committed Oct 28, 2019
1 parent e9a90d8 commit c62db9d
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 @@ -79,7 +79,7 @@ cover:

format:
@echo ">> formatting code"
GO111MODULE=$(GO111MODULE) $(GO) fmt $(pkgs)
GO111MODULE=$(GO111MODULE) $(GO) fmt -mod=vendor $(pkgs)

vet:
@echo ">> vetting code"
Expand Down

0 comments on commit c62db9d

Please sign in to comment.