Merge pull request #2092 from dnephin/fix-vendor-validation

Fix vendor validation
This commit is contained in:
Michael Crosby 2018-02-02 16:51:12 -05:00 committed by GitHub
commit 254807da5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")