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 134dcb8 commit 4eacfdcCopy full SHA for 4eacfdc
packages/core/src/codewhisperer/util/zipUtil.ts
@@ -349,15 +349,15 @@ interface GitDiffOptions {
349
zipType?: ZipType
350
}
351
352
-async function getGitDiffContentForProjects(projectPaths: string[], filepath?: string, zipType?: ZipType) {
+async function getGitDiffContentForProjects(projectPaths: string[], filepath?: string) {
353
let gitDiffContent = ''
354
for (const projectPath of projectPaths) {
355
const projectName = path.basename(projectPath)
356
gitDiffContent += await getGitDiffContent({
357
projectPath,
358
projectName,
359
filepath,
360
- zipType,
+ zipType: 'project',
361
})
362
363
return gitDiffContent
0 commit comments