fix(app): normalize path separators for session diff filtering on Windows (#10291)

pull/10298/head^2
Alex Yaroshuk 2026-01-24 06:17:47 +08:00 committed by GitHub
parent 225b72ca36
commit 8a216a6ad5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export namespace SessionSummary {
.flatMap((x) => x.parts)
.filter((x) => x.type === "patch")
.flatMap((x) => x.files)
.map((x) => path.relative(Instance.worktree, x)),
.map((x) => path.relative(Instance.worktree, x).replaceAll("\\", "/")),
)
const diffs = await computeDiff({ messages: input.messages }).then((x) =>
x.filter((x) => {