(filePath: string, config: JsonObject)
| 49 | } |
| 50 | |
| 51 | function writeConfig(filePath: string, config: JsonObject): void { |
| 52 | writeFileSync(filePath, `${stringify(config, null, 2)}\n`); |
| 53 | } |
| 54 | |
| 55 | function resolveUserOpenCodeConfigPath(): string { |
| 56 | const paths = getOpenCodeConfigPaths({ binary: "opencode" }); |