Commit e7b5580
committed
Use path.posix.join for overflow path to preserve POSIX separators
Fixes Windows + SSH runtime compatibility. config.runtimeTempDir is always
a POSIX path (e.g., /home/user/.cmux-tmp/token) even when cmux runs on Windows.
Using path.join() would convert it to backslash form on Windows, breaking
SSHRuntime.writeFile() which expects forward slashes.
Solution: Always use path.posix.join() when constructing paths for runtime
operations, regardless of host OS.
Addresses Codex review comment PRRT_kwDOPxxmWM5fYEbF1 parent 5a88fc4 commit e7b5580
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
425 | 426 | | |
426 | 427 | | |
427 | 428 | | |
| |||
0 commit comments