Commit bbe794f
fix: use os.homedir() instead of process.env.HOME for cross-platform log directory (REBEL-RE)
process.env.HOME is empty on Windows, causing mkdirSync to use a relative
path and crash Super-MCP on startup. os.homedir() returns USERPROFILE on
Windows and HOME on macOS/Linux.
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>1 parent 47fccb3 commit bbe794f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments