Skip to content

Commit 4eacfdc

Browse files
committed
fix: ensure git diff is included
1 parent 134dcb8 commit 4eacfdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/codewhisperer/util/zipUtil.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,15 +349,15 @@ interface GitDiffOptions {
349349
zipType?: ZipType
350350
}
351351

352-
async function getGitDiffContentForProjects(projectPaths: string[], filepath?: string, zipType?: ZipType) {
352+
async function getGitDiffContentForProjects(projectPaths: string[], filepath?: string) {
353353
let gitDiffContent = ''
354354
for (const projectPath of projectPaths) {
355355
const projectName = path.basename(projectPath)
356356
gitDiffContent += await getGitDiffContent({
357357
projectPath,
358358
projectName,
359359
filepath,
360-
zipType,
360+
zipType: 'project',
361361
})
362362
}
363363
return gitDiffContent

0 commit comments

Comments
 (0)