[CLI] Make qmk doctor
more lenient about system config (#13804)
This commit is contained in:
parent
6d82c92476
commit
52dad230d6
2 changed files with 12 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue