Pārlūkot izejas kodu

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

Ryan 4 gadi atpakaļ
vecāks
revīzija
cd981ec56a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/python/qmk/cli/doctor.py

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

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