From 01329382b9132e6bc842d745031ba536ce073f51 Mon Sep 17 00:00:00 2001 From: Joaquin Coromina Date: Tue, 13 May 2025 02:46:48 -0400 Subject: [PATCH] Made createMCPConfigFile private --- src/vs/workbench/contrib/void/common/mcpConfigService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/void/common/mcpConfigService.ts b/src/vs/workbench/contrib/void/common/mcpConfigService.ts index f8fe1842..70f6e8af 100644 --- a/src/vs/workbench/contrib/void/common/mcpConfigService.ts +++ b/src/vs/workbench/contrib/void/common/mcpConfigService.ts @@ -47,7 +47,7 @@ class MCPConfigService extends Disposable implements IMCPConfigService { const mcpExists = await this.configFileExists(); if (!mcpExists) { console.log('MCP Config file does not exist. Creating...'); - await this.createMCPConfigFile(); + await this._createMCPConfigFile(); } else { console.log('MCP Config file already exists.'); } @@ -76,7 +76,7 @@ class MCPConfigService extends Disposable implements IMCPConfigService { } } - async createMCPConfigFile(): Promise { + private async _createMCPConfigFile(): Promise { const mcpConfigUri = await this.getMCPConfigPath(); // Create the directory if it doesn't exist