Skip to content

Commit 53671c3

Browse files
committed
refactor: slight cleanup
1 parent 9647ba8 commit 53671c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/amazonq/src/inlineChat/provider/inlineChatProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ export class InlineChatProvider {
5656
}
5757

5858
const documentUri = editor.document.uri.toString()
59-
59+
const cursorState = getCursorState(editor.selections)
6060
return {
6161
prompt: {
6262
prompt,
6363
},
64-
cursorState: getCursorState(editor.selections),
64+
cursorState,
6565
textDocument: {
6666
uri: documentUri,
6767
},

0 commit comments

Comments
 (0)