mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-18 19:33:31 +00:00
chore: generate
This commit is contained in:
parent
65a3f7f749
commit
4d09a71ef4
1 changed files with 3 additions and 1 deletions
|
|
@ -130,7 +130,9 @@ export function createWslServersController(
|
|||
|
||||
const checkOpencode = async (distro: string, opts?: { signal?: AbortSignal }) => {
|
||||
const resolved = await (options?.resolveOpencode ?? resolveWslOpencode)(distro, opts)
|
||||
const version = resolved ? await (options?.readCommandVersion ?? readWslCommandVersion)(resolved, distro, opts) : null
|
||||
const version = resolved
|
||||
? await (options?.readCommandVersion ?? readWslCommandVersion)(resolved, distro, opts)
|
||||
: null
|
||||
return opencodeCheck(distro, resolved, version, appVersion)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue