Commit 38f9d52
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 bf46af4 commit 38f9d52
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
426 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
427 | 428 | | |
428 | 429 | | |
429 | 430 | | |
| |||
0 commit comments