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) |
[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 a0bbb28168..0807f41518 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(): This is a decent enough indicator that the qmk_firmware directory is a proper Git repository, rather than a .zip download from GitHub. """ - dot_git_dir = QMK_FIRMWARE / '.git' + dot_git = QMK_FIRMWARE / '.git' - return CheckStatus.OK if dot_git_dir.is_dir() else CheckStatus.WARNING + return CheckStatus.OK if dot_git.exists() else CheckStatus.WARNING |