Commit 7807260
fix(db): handle Windows mkdir edge case for current directory
On Windows, mkdirSync('.') throws EEXIST error. Skip mkdir when dirname
returns '.' and wrap in try-catch as defensive measure.
Fixes Windows test failure in CI.
Co-Authored-By: Claude Haiku 4.5 <[email protected]>1 parent 2f98d91 commit 7807260
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
0 commit comments