aboutsummaryrefslogtreecommitdiff
path: root/lib/python/qmk/keyboard.py
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-05-01 02:52:34 +0100
committerGitHub <[email protected]>2024-05-01 11:52:34 +1000
commit54c1ae55bfb931a2b095aa97480cb49b3fccfd8f (patch)
tree361d3c439d25a8fc3051363cfb1a68fe407d2cbb /lib/python/qmk/keyboard.py
parent7b9a1ac4be6735a5448c4a4c99f898e3d9d242eb (diff)
downloadqmk_firmware-54c1ae55bfb931a2b095aa97480cb49b3fccfd8f.tar.gz
qmk_firmware-54c1ae55bfb931a2b095aa97480cb49b3fccfd8f.zip
Align 'qmk lint' argument handling (#23297)
Diffstat (limited to 'lib/python/qmk/keyboard.py')
-rw-r--r--lib/python/qmk/keyboard.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/qmk/keyboard.py b/lib/python/qmk/keyboard.py
index 0fcc2e868d..fcf5b5b158 100644
--- a/lib/python/qmk/keyboard.py
+++ b/lib/python/qmk/keyboard.py
@@ -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)