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 5fe99cc2bd
commit ba839f2dae

View File

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