diff options
author | Erovia <Erovia@users.noreply.github.com> | 2020-05-21 10:15:18 +0200 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-06-12 17:00:27 +0900 |
commit | 7a685cf795d7f856667f90bc86d93bf85d18f1cc (patch) | |
tree | 5b3046e59b54caf7cf5cfedbde6288ddd6df5fd5 /lib | |
parent | 73d1fa5c1f541a43c2ef2413dc40df523f951182 (diff) |
Fix submodule check (#9155)
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/python/qmk/cli/doctor.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 636e49dab3..20f8650e5e 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py @@ -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 |