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(
568568 languageClient . onRequest ( CheckDiagnosticsRequestType . method , async ( params : CheckDiagnosticsParams ) => {
569569 const result : Record < string , DiagnosticInfo [ ] > = { }
570570
571- for ( const [ filePath , diagnosticJson ] of Object . entries ( params . filePath ) ) {
571+ for ( const [ filePath , diagnosticJson ] of Object . entries ( params . fileDiagnostics ) ) {
572572 try {
573573 const uri = vscode . Uri . file ( filePath )
574574 const diagnostics = vscode . languages . getDiagnostics ( uri )
@@ -601,7 +601,7 @@ export function registerMessageListeners(
601601 result [ filePath ] = diagnosticJson || [ ]
602602 }
603603 }
604- return { filePath : result }
604+ return { fileDiagnostics : result }
605605 } )
606606
607607 // Register openWorkspaceFile handler
You can’t perform that action at this time.
0 commit comments