Commit 6b91f98
fix: propagate os.UserHomeDir() errors in snapshot save and load
snapshot save and load were silently ignoring the error from
os.UserHomeDir(), passing an empty home path to ParseSource/ParseDestination
when the home directory cannot be resolved. snapshot remove in the same
file already handles this correctly.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 401d289 commit 6b91f98
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
213 | 216 | | |
214 | 217 | | |
215 | 218 | | |
| |||
419 | 422 | | |
420 | 423 | | |
421 | 424 | | |
422 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
423 | 429 | | |
424 | 430 | | |
425 | 431 | | |
| |||
0 commit comments