Fix vendor validation
vendor/ must be removed first, otherwise files added to vendor/ that aren't added to vendor.conf will not cause the validation to fail. Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
44f6bc40d4
commit
2125d8efc3
@ -1,7 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
vndr 2>&1 | grep -v -i clone
|
rm -rf vendor/
|
||||||
|
vndr |& grep -v -i clone
|
||||||
|
|
||||||
DIFF_PATH="vendor/"
|
DIFF_PATH="vendor/"
|
||||||
DIFF=$(git status --porcelain -- "$DIFF_PATH")
|
DIFF=$(git status --porcelain -- "$DIFF_PATH")
|
||||||
|
Loading…
Reference in New Issue
Block a user