Skip to content

Commit

Permalink
Add leaves to map()
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 13, 2022
1 parent 5a4034a commit 9339b78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/normalize/lib/wild_wild_utils/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ export const map = function (
target,
query,
mapFunc,
{ mutate, roots, missing, classes, inherited } = {},
{ mutate, roots, leaves, missing, classes, inherited } = {},
) {
const entries = list(target, query, {
childFirst: true,
roots,
leaves,
sort: false,
missing,
classes,
Expand Down

0 comments on commit 9339b78

Please sign in to comment.