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 9ef3f20127
commit 58191cbe4c
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:
command: make update-vendor
- run: |
if [[ -z $(git status -s) ]]; then
if [[ -n $(git status -s) ]]; then
echo "Git directory has changes"
git status -s
exit 1