1
0
Fork 0

Align 'qmk lint' argument handling (#23297)

This commit is contained in:
Joel Challis 2024-05-01 02:52:34 +01:00 committed by GitHub
parent 7b9a1ac4be
commit 54c1ae55bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 20 deletions

View file

@ -99,6 +99,8 @@ def find_keyboard_from_dir():
keymap_index = len(current_path.parts) - current_path.parts.index('keymaps') - 1
current_path = current_path.parents[keymap_index]
current_path = resolve_keyboard(current_path)
if qmk.path.is_keyboard(current_path):
return str(current_path)