Skip to content

Commit

Permalink
Run (go mod tidy) before (go mod vendor) again
Browse files Browse the repository at this point in the history
We switched the order because (go mod tidy) seemed not to work
before, but the reason why it didn't work was only tangentially
the ordering, and now that all commands do work, modifying the set
of modules makes more sense before updating the vendor directory.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
  • Loading branch information
mtrmac authored and rhatdan committed Apr 8, 2020
1 parent 779025e commit 982b365
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 @@ -142,8 +142,8 @@ vendor-in-container:

.PHONY: vendor
vendor:
GO111MODULE=on $(GO) mod vendor
GO111MODULE=on $(GO) mod tidy
GO111MODULE=on $(GO) mod vendor
GO111MODULE=on $(GO) mod verify

.PHONY: lint
Expand Down

0 comments on commit 982b365

Please sign in to comment.