Commit f6373ab
committed
fix: deduplicate directImporters to prevent negative transitive count (#480)
findImportSources can return multiple edges to the same file (e.g.
imports + imports-type), causing importedBy.length to exceed
totalImporterCount and produce a negative transitive suffix.1 parent 6be9191 commit f6373ab
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments