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.
2 parents cc0ff7a + 1e21766 commit 32f7a83Copy full SHA for 32f7a83
src/main.ts
@@ -64,6 +64,7 @@ async function analyzeCode(
64
const comments: Array<{ body: string; path: string; line: number }> = [];
65
66
for (const file of parsedDiff) {
67
+ if (file.to === "/dev/null") continue; // Ignore deleted files
68
for (const chunk of file.chunks) {
69
const prompt = createPrompt(file, chunk, prDetails);
70
const aiResponse = await getAIResponse(prompt);
0 commit comments