qmk lint: fix TypeError (#18226)

This commit is contained in:
Ryan 2022-08-31 15:20:00 +10:00 committed by GitHub
parent bc538e3776
commit 6f804f76b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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