[CLI] Make qmk doctor more lenient about system config (#13804)

This commit is contained in:
ruro authored and GitHub committed 2021-07-30 21:43:42 -07:00
1 parent 6d82c92476
commit 52dad230d6
2 files changed
+12 -6

No files matched your search

+2 -2
View File
@@ -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