Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qmk doctor os check to support newer msys2/w10 installations #8031

Merged
merged 2 commits into from
Jan 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/python/qmk/cli/doctor.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ def doctor(cli):
ok = True

# Determine our OS and run platform specific tests
OS = platform.system() # noqa (N806), uppercase name is ok in this instance
OS = platform.platform().lower() # noqa (N806), uppercase name is ok in this instance

if OS == 'Darwin':
if 'darwin' in OS:
if not os_test_macos():
ok = False
elif OS == 'Linux':
elif 'linux' in OS:
if not os_test_linux():
ok = False
elif OS == 'Windows':
elif 'windows' in OS:
if not os_test_windows():
ok = False
else:
Expand Down