Skip to content

Commit 8dfce6b

Browse files
committed
Improved Code Fix generation for code review issues
1 parent f601d89 commit 8dfce6b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Improved Code Fix generation for code review issues"
4+
}

packages/core/src/codewhisperer/commands/startCodeFixGeneration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export async function startCodeFixGeneration(
6666
start: { line: issue.startLine + 1, character: 0 },
6767
end: { line: issue.endLine, character: 0 },
6868
},
69-
issue.description.text,
69+
issue.recommendation.text,
7070
codeFixName,
7171
issue.ruleId
7272
)

0 commit comments

Comments
 (0)