`qmk doctor`: Fix WSL /mnt check (#12466)
This commit is contained in:
parent
12f308748f
commit
cd981ec56a
|
@ -36,7 +36,7 @@ def os_test_linux():
|
||||||
cli.log.info("Detected {fg_cyan}Linux (WSL){fg_reset}.")
|
cli.log.info("Detected {fg_cyan}Linux (WSL){fg_reset}.")
|
||||||
|
|
||||||
# https://github.com/microsoft/WSL/issues/4197
|
# 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.")
|
cli.log.warning("I/O performance on /mnt may be extremely slow.")
|
||||||
return CheckStatus.WARNING
|
return CheckStatus.WARNING
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue