Align 'qmk lint' argument handling (#23297)
This commit is contained in:
parent
7b9a1ac4be
commit
54c1ae55bf
2 changed files with 17 additions and 20 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue