Fix submodule check (#9155)
This commit is contained in:
parent
8e1f706ac6
commit
83ebbf57b3
1 changed files with 4 additions and 1 deletions
|
@ -131,7 +131,10 @@ def check_submodules():
|
||||||
cli.log.warn('Submodule %s is not available.', submodule['name'])
|
cli.log.warn('Submodule %s is not available.', submodule['name'])
|
||||||
elif not submodule['status']:
|
elif not submodule['status']:
|
||||||
if submodule['name'] in ESSENTIAL_SUBMODULES:
|
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
|
return ok
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue