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

This commit is contained in:
Alvin Huang 2021-01-22 11:36:35 -05:00 committed by hashicorp-ci
parent f135c3b64e
commit acb9b4ccaa
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,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