Skip to content

Commit

Permalink
Add missing to find()
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 13, 2022
1 parent a0b43d0 commit 3e01ec4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/normalize/lib/wild_wild_path_utils/find.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ export const find = function (
for (const entry of iterate(target, query, {
childFirst,
sort,
missing: false,
classes,
inherited,
})) {
// eslint-disable-next-line max-depth
if (!entry.missing && condition(entry)) {
if (condition(entry)) {
return entry
}
}
Expand Down

0 comments on commit 3e01ec4

Please sign in to comment.