summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorSergey Vlasov <sigprof@gmail.com>2023-11-19 00:26:00 +0300
committerGitHub <noreply@github.com>2023-11-19 08:26:00 +1100
commit62cca5c43a63e694da4596dc41d1251f9c530198 (patch)
tree70de38e164b5fba397ac64be4fe859a06735f4d1 /LICENSE
parentbf3a88ab57dfd40d22519807f081b2f0acfa2bbb (diff)
`qmk find`: Fix failure with multiple filters (#22497)
When multiple `-f FILTER` options were specified, `qmk find` did not return anything at all instead of printing the list of entries that matched all of the specified filters. The problem was that the statement in `_filter_keymap_targets()` that filled `targets` had a wrong indent and therefore was executed for every filter instead of only once after applying all filters, and `valid_keymaps` was actually an iterator and therefore could be used only once. Moving the statement outside of the loop fixes the problem.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions