ci: fix logic for check-vendor (#9619)

This commit is contained in:
Alvin Huang 2021-01-22 11:36:35 -05:00 committed by GitHub
parent 0247f409a0
commit 3b4469d31d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ jobs:
- run: - run:
command: make update-vendor command: make update-vendor
- run: | - run: |
if [[ -z $(git status -s) ]]; then if [[ -n $(git status -s) ]]; then
echo "Git directory has changes" echo "Git directory has changes"
git status -s git status -s
exit 1 exit 1