Commit aeda662
refactor(graph): remove dead code in extract_package_subset
Remove redundant ROOT node inclusion check in extract_package_subset function.
The _collect_dependents function already handles ROOT inclusion automatically
when traversing parent dependencies, making the explicit check unnecessary.
This removes 7 lines of dead code while maintaining the same functionality.
All tests continue to pass and ROOT is still properly included in subsets
when target packages are top-level dependencies.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 672123b commit aeda662
1 file changed
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | 555 | | |
563 | 556 | | |
564 | 557 | | |
| |||
0 commit comments