aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErovia <Erovia@users.noreply.github.com>2020-05-21 10:15:18 +0200
committerGitHub <noreply@github.com>2020-05-21 10:15:18 +0200
commit83ebbf57b349552038d9d9af994eb2e9528ecbc5 (patch)
tree19d62a27d0604918ed32955baa858f2c703d4534
parent8e1f706ac6aed03875ae9c6c00444778654b0380 (diff)
downloadqmk_firmware-83ebbf57b349552038d9d9af994eb2e9528ecbc5.tar.gz
qmk_firmware-83ebbf57b349552038d9d9af994eb2e9528ecbc5.zip
Fix submodule check (#9155)
-rwxr-xr-xlib/python/qmk/cli/doctor.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py
index 636e49dab..20f8650e5 100755
--- a/lib/python/qmk/cli/doctor.py
+++ b/lib/python/qmk/cli/doctor.py
@@ -131,7 +131,10 @@ def check_submodules():
131 cli.log.warn('Submodule %s is not available.', submodule['name']) 131 cli.log.warn('Submodule %s is not available.', submodule['name'])
132 elif not submodule['status']: 132 elif not submodule['status']:
133 if submodule['name'] in ESSENTIAL_SUBMODULES: 133 if submodule['name'] in ESSENTIAL_SUBMODULES:
134 cli.log.warn('Submodule %s is not up to date!') 134 cli.log.error('Submodule %s is not up to date!', submodule['name'])
135 ok = False
136 else:
137 cli.log.warn('Submodule %s is not up to date!', submodule['name'])
135 138
136 return ok 139 return ok
137 140