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 975f0d0 commit eecb31aCopy full SHA for eecb31a
packages/core/src/codewhisperer/util/zipUtil.ts
@@ -122,7 +122,7 @@ export class ZipUtil {
122
zip.addFile(zipEntryPath, Buffer.from(content, 'utf-8'))
123
124
if (scope === CodeWhispererConstants.CodeAnalysisScope.FILE_ON_DEMAND) {
125
- const gitDiffContent = `+++ b/${path.normalize(zipEntryPath)}` // Sending file path in payload for LLM code review
+ const gitDiffContent = `+++ b/${path.normalize(zipEntryPath).replaceAll(path.win32.sep, path.posix.sep)}` // Sending file path in payload for LLM code review
126
zip.addFile(ZipConstants.codeDiffFilePath, Buffer.from(gitDiffContent, 'utf-8'))
127
}
128
} else {
0 commit comments