diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-02-19 05:19:18 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-02-19 05:19:18 +0000 |
| commit | 4b878f6aebb089244d69aa7cb7806e65e61bfbed (patch) | |
| tree | 5cc061b90a761cab09f4c8668c5cb7a31b9c1a05 | |
| parent | 1893473148e90e98e49759b58bfe88d97ff9f7d3 (diff) | |
| download | opencode-4b878f6aebb089244d69aa7cb7806e65e61bfbed.tar.gz opencode-4b878f6aebb089244d69aa7cb7806e65e61bfbed.zip | |
chore: generate
| -rw-r--r-- | packages/opencode/src/config/config.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts index 3493d2325..36f6c762b 100644 --- a/packages/opencode/src/config/config.ts +++ b/packages/opencode/src/config/config.ts @@ -1251,12 +1251,7 @@ export namespace Config { return load(text, { path: filepath }) } - async function load( - text: string, - options: - | { path: string } - | { dir: string; source: string }, - ) { + async function load(text: string, options: { path: string } | { dir: string; source: string }) { const original = text const configDir = "path" in options ? path.dirname(options.path) : options.dir const source = "path" in options ? options.path : options.source |
