Skip to content

Commit d07e211

Browse files
committed
Revert "fix(ziputil): ensure codeDiff is generated when there are uncommitted changes (#6855)"
This reverts commit c3ea31d.
1 parent ddc9874 commit d07e211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export class ZipUtil {
218218
filePath?: string,
219219
scope?: CodeWhispererConstants.CodeAnalysisScope
220220
) {
221-
const gitDiffContent = await getGitDiffContentForProjects(projectPaths, filePath, scope)
221+
const gitDiffContent = await getGitDiffContentForProjects(projectPaths, filePath)
222222
if (gitDiffContent) {
223223
zip.writeString(gitDiffContent, ZipConstants.codeDiffFilePath)
224224
}

0 commit comments

Comments
 (0)