Commit 57d7300
committed
fix(model): Skip excluded projects in getDependencies when omitExcluded is true
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 dependencies
only reachable through excluded projects are not discovered.
Signed-off-by: Kai Hodžić <hodzic.e.k@outlook.com>1 parent 5ddb211 commit 57d7300
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
247 | 249 | | |
248 | 250 | | |
249 | 251 | | |
| |||
0 commit comments