mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
Fixed the structure of createMCPConfigFile
This commit is contained in:
parent
1ed79ef985
commit
7af9973a8d
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue