Skip to content

Commit d1dcc86

Browse files
committed
todo
1 parent 667ff8e commit d1dcc86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/amazonq/src/app/inline/EditRendering/imageRenderer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export async function showEdits(
2929
const { svgImage, startLine, newCode, origionalCodeHighlightRange } =
3030
await svgGenerationService.generateDiffSvg(currentFile, item.insertText as string)
3131

32+
// TODO: To investigate why it fails and patch [generateDiffSvg]
3233
if (newCode.length === 0) {
3334
getLogger('nextEditPrediction').warn('not able to apply provided edit suggestion, skip rendering')
3435
return

0 commit comments

Comments
 (0)