From 7af9973a8d524b4c8274a3928f97671319c3808d Mon Sep 17 00:00:00 2001 From: Joaquin Coromina Date: Tue, 13 May 2025 02:37:54 -0400 Subject: [PATCH] Fixed the structure of createMCPConfigFile --- src/vs/workbench/contrib/void/common/mcpConfigService.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/void/common/mcpConfigService.ts b/src/vs/workbench/contrib/void/common/mcpConfigService.ts index 39acdfce..f8fe1842 100644 --- a/src/vs/workbench/contrib/void/common/mcpConfigService.ts +++ b/src/vs/workbench/contrib/void/common/mcpConfigService.ts @@ -82,9 +82,8 @@ class MCPConfigService extends Disposable implements IMCPConfigService { // Create the directory if it doesn't exist await this.fileService.createFile(mcpConfigUri.with({ path: mcpConfigUri.path })); - const buffer = VSBuffer.fromString(this.MCP_CONFIG_SAMPLE_STRING); - // Create the MCP config file with default content + const buffer = VSBuffer.fromString(this.MCP_CONFIG_SAMPLE_STRING); await this.fileService.writeFile(mcpConfigUri, buffer); } }