Commit be9f4c8c authored by Marc Durdin's avatar Marc Durdin
Browse files

fix(developer): make sourcePath calculation for kmc-keyboard-info more lenient

Fixes #10542.

The `sourcePath` attribute should only be added to a .keyboard_info file
if the file is actually in an expected folder matching a pattern like
`(release|legacy|experimental)/k/keyboard`.

If the path does not match that pattern, then we just omit the field in
the emitted .keyboard_info or .model_info file.
parent 5c5f5ac4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment