Commit 6cc740a
committed
fix: guard set -e footgun in _fast_copy_dir and reset cache in tests
- Use if/fi instead of && for partial-clone cleanup to avoid exit
code 1 leaking under set -e when target doesn't exist
- Reset _fast_copy_os in test setup for deterministic test isolation1 parent 48a1630 commit 6cc740a
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments