Install dep-collector from `./vendor/`
@@ -370,7 +370,7 @@ function update_licenses() {
cd ${REPO_ROOT_DIR} || return 1
local dst=$1
shift
- run_go_tool dep-collector github.com/knative/test-infra/tools/dep-collector $@ > ./${dst}
+ run_go_tool dep-collector ./vendor/github.com/knative/test-infra/tools/dep-collector $@ > ./${dst}
}
# Run dep-collector to check for forbidden liceses.
@@ -379,7 +379,7 @@ function check_licenses() {
# Fetch the google/licenseclassifier for its license db
go get -u github.com/google/licenseclassifier
# Check that we don't have any forbidden licenses in our images.
- run_go_tool dep-collector github.com/knative/test-infra/tools/dep-collector -check $@
+ run_go_tool dep-collector ./vendor/github.com/knative/test-infra/tools/dep-collector -check $@
}
# Run the given linter on the given files, checking it exists first.
