Browse Source

`qmk lint`: fix TypeError (#18226)

Ryan 2 năm trước cách đây
mục cha
commit
6f804f76b4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/python/qmk/cli/lint.py

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

@@ -87,7 +87,7 @@ def keymap_check(kb, km):
         return ok
 
     # Additional checks
-    invalid_files = git_get_ignored_files(keymap_path.parent)
+    invalid_files = git_get_ignored_files(keymap_path.parent.as_posix())
     for file in invalid_files:
         cli.log.error(f'{kb}/{km}: The file "{file}" should not exist!')
         ok = False