diff --git a/clients/vscode/src/chat/WebviewHelper.ts b/clients/vscode/src/chat/WebviewHelper.ts index b7f733042d5b..5f603f1a6145 100644 --- a/clients/vscode/src/chat/WebviewHelper.ts +++ b/clients/vscode/src/chat/WebviewHelper.ts @@ -558,10 +558,10 @@ export class WebviewHelper { this.webview?.postMessage({ action: "dispatchKeyboardEvent", type, event }); }, onOpenExternal: async (url: string) => { - this.logger.info('Open external', url) + this.logger.info("Open external", url); const success = await env.openExternal(Uri.parse(url)); return success; - } + }, }); } } diff --git a/clients/vscode/src/chat/chatPanel.ts b/clients/vscode/src/chat/chatPanel.ts index 42bf6d3a36ea..0586d99c4c4b 100644 --- a/clients/vscode/src/chat/chatPanel.ts +++ b/clients/vscode/src/chat/chatPanel.ts @@ -33,7 +33,7 @@ export function createClient(webview: Webview, api: ClientApiMethods): ServerApi onLoaded: api.onLoaded, onCopy: api.onCopy, onKeyboardEvent: api.onKeyboardEvent, - onOpenExternal: api.onOpenExternal + onOpenExternal: api.onOpenExternal, }, }); }