Skip to content

Commit 4968576

Browse files
committed
lint
1 parent cdd20cb commit 4968576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const emptyDiffSvg = {
1818
originalCodeHighlightRange: [],
1919
}
2020

21-
const DEFAULT_LINE_HIGHLIGHT_LENGTH = 4
21+
const defaultLineHighlightLength = 4
2222

2323
export class SvgGenerationService {
2424
/**
@@ -461,7 +461,7 @@ export class SvgGenerationService {
461461
originalRanges.push({
462462
line: lineIndex,
463463
start: 0,
464-
end: line.length ?? DEFAULT_LINE_HIGHLIGHT_LENGTH,
464+
end: line.length ?? defaultLineHighlightLength,
465465
})
466466
}
467467
}

0 commit comments

Comments
 (0)