Skip to content

Commit c30f40b

Browse files
committed
Pass maxProperties to walk
1 parent 87f4980 commit c30f40b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/object.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ export function walk(
367367

368368
// Recursively walk through all the child nodes
369369
const innerValue: UnknownMaybeWithToJson = source[innerKey];
370-
acc[innerKey] = walk(innerKey, innerValue, depth - 1);
370+
acc[innerKey] = walk(innerKey, innerValue, depth - 1, maxProperties);
371371
}
372372

373373
// Once walked through all the branches, remove the parent from memo storage

0 commit comments

Comments
 (0)