mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Bump vndr
We can do that now as we're no longer carrying archive/tar. Note that latest vndr removes vendor/ subdir so we don't have to, thus the change in hack/validate/vendor. While at it, re-run a new vndr version to make sure everything that should be there is. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -9,10 +9,7 @@ validate_vendor_diff(){
|
||||
unset IFS
|
||||
|
||||
if [ ${#files[@]} -gt 0 ]; then
|
||||
# Remove vendor/ first so that anything not included in vendor.conf will
|
||||
# cause the validation to fail.
|
||||
ls -d vendor/* | xargs rm -rf
|
||||
# run vndr to recreate vendor/
|
||||
# recreate vendor/
|
||||
vndr
|
||||
# check if any files have changed
|
||||
diffs="$(git status --porcelain -- vendor 2>/dev/null)"
|
||||
|
||||
Reference in New Issue
Block a user