File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/amazonq/src/lsp/chat Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ export function registerMessageListeners(
568
568
languageClient . onRequest ( CheckDiagnosticsRequestType . method , async ( params : CheckDiagnosticsParams ) => {
569
569
const result : Record < string , DiagnosticInfo [ ] > = { }
570
570
571
- for ( const [ filePath , diagnosticJson ] of Object . entries ( params . filePath ) ) {
571
+ for ( const [ filePath , diagnosticJson ] of Object . entries ( params . fileDiagnostics ) ) {
572
572
try {
573
573
const uri = vscode . Uri . file ( filePath )
574
574
const diagnostics = vscode . languages . getDiagnostics ( uri )
@@ -601,7 +601,7 @@ export function registerMessageListeners(
601
601
result [ filePath ] = diagnosticJson || [ ]
602
602
}
603
603
}
604
- return { filePath : result }
604
+ return { fileDiagnostics : result }
605
605
} )
606
606
607
607
// Register openWorkspaceFile handler
You can’t perform that action at this time.
0 commit comments