Repository navigation
Commit 9f55775
committed
Fix NuGet restore walk package store detection
Fix two issues preventing package stores from being skipped during restore walk:
1. Strip trailing slashes from package folder paths parsed from project.assets.json
to match paths from dir.join(name) for proper equality checks
2. Check if directories are package stores when popping from pending queue,
not just when queueing, to handle stores that are queued before their
project.assets.json is parsed
This prevents large in-tree package stores from exhausting the directory
budget before deeper project.assets.json files are processed.1 parent 01ff0ff commit 9f55775
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
620 | 628 | | |
621 | 629 | | |
622 | 630 | | |
| |||
684 | 692 | | |
685 | 693 | | |
686 | 694 | | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
687 | 698 | | |
688 | 699 | | |
689 | 700 | | |
| |||
0 commit comments