Fix submodule check (#9155)

This commit is contained in:
Erovia 2020-05-21 10:15:18 +02:00 committed by GitHub
parent 8e1f706ac6
commit 83ebbf57b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,10 @@ def check_submodules():
cli.log.warn('Submodule %s is not available.', submodule['name'])
elif not submodule['status']:
if submodule['name'] in ESSENTIAL_SUBMODULES:
cli.log.warn('Submodule %s is not up to date!')
cli.log.error('Submodule %s is not up to date!', submodule['name'])
ok = False
else:
cli.log.warn('Submodule %s is not up to date!', submodule['name'])
return ok