Commit 5fe8ba5
fix: properly restore OPENCODE_TEST_HOME env var in test cleanup
Use delete when originalHome is undefined instead of assigning the
string "undefined" back to the env var. Also remove unused Global import.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7d23401 commit 5fe8ba5
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
2367 | 2366 | | |
2368 | 2367 | | |
2369 | 2368 | | |
2370 | | - | |
| 2369 | + | |
| 2370 | + | |
2371 | 2371 | | |
2372 | 2372 | | |
2373 | 2373 | | |
| |||
2412 | 2412 | | |
2413 | 2413 | | |
2414 | 2414 | | |
2415 | | - | |
| 2415 | + | |
| 2416 | + | |
2416 | 2417 | | |
2417 | 2418 | | |
2418 | 2419 | | |
| |||
2453 | 2454 | | |
2454 | 2455 | | |
2455 | 2456 | | |
2456 | | - | |
| 2457 | + | |
| 2458 | + | |
2457 | 2459 | | |
2458 | 2460 | | |
2459 | 2461 | | |
| |||
0 commit comments