diff options
author | ruro <ruro.ruro@ya.ru> | 2021-07-31 07:43:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 21:43:42 -0700 |
commit | 52dad230d68ffecc3dc5b317cc5f1194b9c6802b (patch) | |
tree | 45fc7788fb6ddd5cfb95a6f6185396d6c5019ac9 /lib/python/qmk/cli/doctor/check.py | |
parent | 6d82c92476240255eecbab850db26b8706184c83 (diff) | |
download | qmk_firmware-52dad230d68ffecc3dc5b317cc5f1194b9c6802b.tar.gz qmk_firmware-52dad230d68ffecc3dc5b317cc5f1194b9c6802b.zip |
[CLI] Make `qmk doctor` more lenient about system config (#13804)
Diffstat (limited to 'lib/python/qmk/cli/doctor/check.py')
-rw-r--r-- | lib/python/qmk/cli/doctor/check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/doctor/check.py b/lib/python/qmk/cli/doctor/check.py index a0bbb2816..0807f4151 100644 --- a/lib/python/qmk/cli/doctor/check.py +++ b/lib/python/qmk/cli/doctor/check.py | |||
@@ -159,6 +159,6 @@ def check_git_repo(): | |||
159 | This is a decent enough indicator that the qmk_firmware directory is a | 159 | This is a decent enough indicator that the qmk_firmware directory is a |
160 | proper Git repository, rather than a .zip download from GitHub. | 160 | proper Git repository, rather than a .zip download from GitHub. |
161 | """ | 161 | """ |
162 | dot_git_dir = QMK_FIRMWARE / '.git' | 162 | dot_git = QMK_FIRMWARE / '.git' |
163 | 163 | ||
164 | return CheckStatus.OK if dot_git_dir.is_dir() else CheckStatus.WARNING | 164 | return CheckStatus.OK if dot_git.exists() else CheckStatus.WARNING |