Commit 6d5d51e
committed
fix(arborist): inherit overrides from fsParent
Fixes #4205
In the virtual tree, workspace nodes are `fsChildren` of the root, not
`children`. As a result, they weren't inheriting the root's overrides,
causing those overrides to be ignored for all dependencies of
workspaces. The fix here is to inherit `fsParent.overrides` whenever
possible.1 parent 83b95d5 commit 6d5d51e
File tree
3 files changed
+17
-10
lines changed- workspaces/arborist
- lib
- tap-snapshots/test/arborist
3 files changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
826 | | - | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
827 | 831 | | |
828 | 832 | | |
829 | 833 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16381 | 16381 | | |
16382 | 16382 | | |
16383 | 16383 | | |
16384 | | - | |
16385 | 16384 | | |
16386 | 16385 | | |
| 16386 | + | |
16387 | 16387 | | |
16388 | 16388 | | |
16389 | 16389 | | |
| |||
16433 | 16433 | | |
16434 | 16434 | | |
16435 | 16435 | | |
16436 | | - | |
16437 | 16436 | | |
| 16437 | + | |
16438 | 16438 | | |
16439 | 16439 | | |
16440 | 16440 | | |
| |||
16443 | 16443 | | |
16444 | 16444 | | |
16445 | 16445 | | |
| 16446 | + | |
| 16447 | + | |
| 16448 | + | |
16446 | 16449 | | |
16447 | 16450 | | |
16448 | 16451 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53512 | 53512 | | |
53513 | 53513 | | |
53514 | 53514 | | |
| 53515 | + | |
| 53516 | + | |
| 53517 | + | |
| 53518 | + | |
| 53519 | + | |
| 53520 | + | |
53515 | 53521 | | |
53516 | 53522 | | |
53517 | 53523 | | |
53518 | 53524 | | |
53519 | 53525 | | |
53520 | 53526 | | |
53521 | 53527 | | |
53522 | | - | |
53523 | | - | |
53524 | | - | |
53525 | | - | |
53526 | | - | |
53527 | | - | |
53528 | 53528 | | |
53529 | 53529 | | |
53530 | 53530 | | |
| |||
0 commit comments