chore: format code

This commit is contained in:
GitHub Action
2025-11-08 01:59:02 +00:00
parent 16357e8041
commit 34ff87d504
182 changed files with 940 additions and 3646 deletions

View File

@@ -28,17 +28,13 @@ export async function createOpencodeServer(options?: ServerOptions) {
options ?? {},
)
const proc = spawn(
`opencode`,
[`serve`, `--hostname=${options.hostname}`, `--port=${options.port}`],
{
signal: options.signal,
env: {
...process.env,
OPENCODE_CONFIG_CONTENT: JSON.stringify(options.config ?? {}),
},
const proc = spawn(`opencode`, [`serve`, `--hostname=${options.hostname}`, `--port=${options.port}`], {
signal: options.signal,
env: {
...process.env,
OPENCODE_CONFIG_CONTENT: JSON.stringify(options.config ?? {}),
},
)
})
const url = await new Promise<string>((resolve, reject) => {
const id = setTimeout(() => {