diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-06-15 13:27:57 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-06-15 13:27:57 -0300 |
commit | 99d7e591bb49ef5a6fd82c7e65886bc33e13ef72 (patch) | |
tree | 0121bf0b1f93fa4e0b51f2407b2038816f4a8e62 /src/find.js | |
parent | 83b1a43cfa6db914c90b2b060253aeadfbf0ed80 (diff) |
find: findMixed: process byDirectory correctly
Diffstat (limited to 'src/find.js')
-rw-r--r-- | src/find.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/find.js b/src/find.js index d5ef400d..8f2170d4 100644 --- a/src/find.js +++ b/src/find.js @@ -391,7 +391,13 @@ function findMixedHelper(config) { }); } - return byDirectory[referenceType][directory]; + const match = byDirectory[referenceType][directory]; + + if (match) { + return match.thing; + } else { + return null; + } }, matchByName: |