Commit 2c80503
committed
fix(model): Adhere to
Previously, `getDependencies(omitExcluded = true)` only filtered excluded
packages from results but still traversed all projects. This caused
inconsistencies when dependency edges only exist in excluded projects (e.g.
test-only submodules).
Now excluded projects are also skipped during traversal, ensuring that
dependencies which are only reachable through excluded projects are not
discovered.
Signed-off-by: Kai Hodžić <hodzic.e.k@outlook.com>omitExcluded for projects in getDependencies()
1 parent 1d8bd43 commit 2c80503
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| |||
0 commit comments