File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
packages/amazonq/src/lsp/chat Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -452,20 +452,16 @@ export function registerMessageListeners(
452452 languageClient . info ( '[VSCode Client] Opening logs directory' )
453453 await vscode . commands . executeCommand ( 'revealFileInOS' , vscode . Uri . file ( logPath ) )
454454 const result = { ...message . params , success : true }
455- void webview ?. postMessage ( {
456- command : message . command ,
457- params : result ,
458- } )
459455 } else {
460456 // Fallback: show error if log path is not available
461457 void vscode . window . showErrorMessage ( 'Log location not available.' )
462458 languageClient . error ( '[VSCode Client] Log location not available' )
463459 const result = { ...message . params , success : false }
464- void webview ?. postMessage ( {
465- command : message . command ,
466- params : result ,
467- } )
468460 }
461+ void webview ?. postMessage ( {
462+ command : message . command ,
463+ params : result ,
464+ } )
469465 break
470466 }
471467 // eslint-disable-next-line no-fallthrough
You can’t perform that action at this time.
0 commit comments