Skip to content

Commit 1da77e7

Browse files
authored
fix(amazonq): /review "Generate fix" does not work aws#6993
1 parent b4f2428 commit 1da77e7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-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": "Fix bug where generate fix does not work"
4+
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ export async function startCodeFixGeneration(
7878
: 'BLOCK',
7979
},
8080
codeFixName,
81-
issue.ruleId
81+
issue.ruleId,
82+
profile
8283
)
8384
if (codeFixJob.status === 'Failed') {
8485
throw new CreateCodeFixError()

0 commit comments

Comments
 (0)