Commit cfda867
authored
fix(arborist): warn once for workspace packageExtensions selector match (#9570)
A workspace `packageExtensions` warning was printed twice per matching
workspace. A workspace appears in the inventory as two `isWorkspace`
nodes — the Link and its target — and `#warnWorkspacePackageExtensions`
warned for both. The fix skips the link (`node.isLink`) so each
workspace is warned once via its target node; the selector/`wouldMatch`
checks are otherwise unchanged.
## References
Follow up of #94961 parent f9c977c commit cfda867
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
0 commit comments