Skip to content

Commit

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

0 comments on commit d6d0a4c

Please sign in to comment.