We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac027c commit dc52c01Copy full SHA for dc52c01
packages/core/src/codewhisperer/util/zipUtil.ts
@@ -120,7 +120,7 @@ export class ZipUtil {
120
zip.addFile(zipEntryPath, Buffer.from(content, 'utf-8'))
121
122
if (scope === CodeWhispererConstants.CodeAnalysisScope.FILE_ON_DEMAND) {
123
- const gitDiffContent = `+++ b/${zipEntryPath}`
+ const gitDiffContent = `+++ b/${path.normalize(zipEntryPath)}` // Sending file path in payload for LLM code review
124
zip.addFile(ZipConstants.codeDiffFilePath, Buffer.from(gitDiffContent, 'utf-8'))
125
}
126
} else {
0 commit comments