mirror of
https://github.com/hanzoai/code.git
synced 2026-09-30 20:53:35 +00:00
Fixed the structure of createMCPConfigFile
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user