mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-18 22:02:53 -04:00
This previously double incremented `resultHeight`. When writing this, I was thinking the child node's height was 1 more than the call for its dependencies. The parent node (the result) would then be more more than that. However, `resultHeight`'s definition is based the longest edge in the dependencies array returned, which doesn't include the parent node. The additional `+ 1` to account for the parent node should never have been added.