Commit 5579873
Factory Bot
fix: canonicalize_path for non-existent files
The path canonicalization was inconsistent when a file didn't exist
at snapshot time but was created later. Now we canonicalize the parent
directory and append the filename, ensuring consistent path lookups
across macOS/Windows/Linux.1 parent 771ba8f commit 5579873
3 files changed
Lines changed: 9614 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
656 | | - | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
657 | 673 | | |
658 | 674 | | |
659 | 675 | | |
| |||
0 commit comments