Adds go mod tidy to update dependencies function hack/build.sh (#455)

- Added `go mod tidy` before `go mod vendor` command
This commit is contained in:
Navid Shaikh 2019-10-18 12:03:18 +05:30 committed by Knative Prow Robot
parent 96c8028de1
commit f03508f74a
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ check_license() {
update_deps() {
echo "🕸️ ${S}Update"
go mod tidy
go mod vendor
}