Skip to content

Commit

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

0 comments on commit 5a4034a

Please sign in to comment.