Browse Source

`qmk doctor`: Fix WSL /mnt check (#12466)

pull/11181/head
Ryan 3 years ago
committed by GitHub
parent
commit
cd981ec56a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/python/qmk/cli/doctor.py

+ 1
- 1
lib/python/qmk/cli/doctor.py View File

@ -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


Loading…
Cancel
Save