Commit 8486366
fix(interpreter): resolve state file path before chdir
The state file path is resolved to an absolute path before
temp_working_directory() changes the working directory. A relative
state file (e.g. the default state.kore) would otherwise be looked
up inside the temp dir, causing krun to fail with "File does not exist".
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent c0bd64f commit 8486366
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
340 | 344 | | |
341 | 345 | | |
342 | 346 | | |
| |||
0 commit comments