Skip to content

Commit b476213

Browse files
haasonsaasclaude
andcommitted
fix(ci): normalize path separators in blast radius summaries
path.display() uses native separators, producing backslashes on Windows. Since these paths appear in review comments (web UI), normalize to forward slashes so the output is consistent across platforms. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1cb4201 commit b476213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/review/pipeline/postprocess/blast_radius.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn format_blast_radius_summary(dependents: &[PathBuf]) -> String {
4545
let listed = dependents
4646
.iter()
4747
.take(MAX_LISTED_DEPENDENTS)
48-
.map(|path| path.display().to_string())
48+
.map(|path| path.display().to_string().replace('\\', "/"))
4949
.collect::<Vec<_>>();
5050
let remaining = dependents.len().saturating_sub(listed.len());
5151

0 commit comments

Comments
 (0)