mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 00:16:41 +06:00
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}.")
|
||||
|
||||
# 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…
Reference in New Issue
Block a user