Skip to content

Commit 463bf11

Browse files
committed
add sort() to keep consistent with buildIndex() logic
1 parent 6ea6ac8 commit 463bf11

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/core/src/amazonq/lsp/lspController.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ export class LspController {
329329
getLogger().info(`LspController: Skipping building index. No projects found in workspace`)
330330
return
331331
}
332-
projPaths.sort()
333332
try {
334333
this._isIndexingInProgress = true
335334
const projRoot = projPaths[0]

packages/core/src/codewhispererChat/controllers/chat/controller.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,6 @@ export class ChatController {
582582
}
583583
private async processFileClickMessage(message: FileClick) {
584584
const session = this.sessionStorage.getSession(message.tabID)
585-
// TODO remove currentContextId but use messageID to track context for each answer message
586585
const lineRanges = session.contexts.get(message.filePath)
587586

588587
if (!lineRanges) {

0 commit comments

Comments
 (0)