Made createMCPConfigFile private

This commit is contained in:
Joaquin Coromina 2025-05-13 02:46:48 -04:00
parent 7af9973a8d
commit 01329382b9

View file

@ -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<void> {
private async _createMCPConfigFile(): Promise<void> {
const mcpConfigUri = await this.getMCPConfigPath();
// Create the directory if it doesn't exist