Commit 3dee42b
committed
Fix Windows CI: Escape backslashes in JSON path interpolation
Fixes Windows CI failure where file paths with backslashes in JSON strings
were not properly escaped, causing JSON parsing errors.
Changes:
- Escape backslashes in outputPath interpolation for integration tests
- Use .Replace('\', '\\') to convert single backslashes to double backslashes
- Fixes both CliWorkflow tests that create JSON config files with paths
This resolves the System.Text.Json.JsonException on Windows CI builds
while maintaining compatibility with Unix-style paths on macOS/Linux.1 parent 4de41d3 commit 3dee42b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
600 | | - | |
| 600 | + | |
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| |||
0 commit comments