Skip to content

Commit

Permalink
qmk doctor: Fix WSL /mnt check (qmk#12466)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Apr 2, 2021
1 parent 12f3087 commit cd981ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/qmk/cli/doctor.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def os_test_linux():
cli.log.info("Detected {fg_cyan}Linux (WSL){fg_reset}.")

# https://github.com/microsoft/WSL/issues/4197
if QMK_FIRMWARE.startswith("/mnt"):
if QMK_FIRMWARE.as_posix().startswith("/mnt"):
cli.log.warning("I/O performance on /mnt may be extremely slow.")
return CheckStatus.WARNING

Expand Down

0 comments on commit cd981ec

Please sign in to comment.