Repository navigation
Commit 989741e
fix(cli): read -seeds before opening the -o file (#212)
An unreadable -seeds file failed the run after openOutputs had created
the temporary output file but before its deferred Close was registered,
so a hidden .<name>.tmp was left beside the -o path (and kept locked on
Windows until exit). Seeds are now loaded before outputs are opened.
Adds an e2e test that runs with a missing -seeds file and asserts the
output directory stays empty.
Fixes #212
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpkeXSPwrzd7ZCuX3no7gD1 parent b1ee267 commit 989741e
2 files changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
195 | 212 | | |
196 | 213 | | |
197 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
0 commit comments