Skip to content

Commit

Permalink
fix parent connections in reducePlan
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Aug 27, 2020
1 parent a54e09b commit 0f88e2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/reducePlan.js
Expand Up @@ -52,7 +52,9 @@ module.exports = (plan, limit) => {
value: undefined
};
treeMap.set(parentPath, parent);
node.parent = parent;
} else {
node.parent = parent;
if (parent.children === undefined) {
parent.children = [node];
} else {
Expand Down

0 comments on commit 0f88e2e

Please sign in to comment.