diff --git a/src/cli/files.ts b/src/cli/files.ts index 60988d6..3340bfd 100644 --- a/src/cli/files.ts +++ b/src/cli/files.ts @@ -223,7 +223,7 @@ export function createSyntheticFileChange( const content = readFileSync(absolutePath, 'utf-8'); const lines = content.split('\n'); const lineCount = lines.length; - const relativePath = relative(basePath, absolutePath); + const relativePath = normalizePath(relative(basePath, absolutePath)); const patch = createPatchFromContent(content); return {