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

master
Ryan 2021-04-03 08:24:09 +11:00 committed by GitHub
parent 12f308748f
commit cd981ec56a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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