mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 04:38:31 +00:00
fix(cli): run update check in background
This commit is contained in:
parent
a6983b65fc
commit
d51ba6ed94
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ export default Runtime.handler(Commands, (input) =>
|
|||
const directory = Option.getOrUndefined(input.directory)
|
||||
if (directory !== undefined) process.chdir(directory)
|
||||
const updater = yield* Updater.Service
|
||||
yield* updater.check()
|
||||
yield* updater.check().pipe(Effect.forkScoped)
|
||||
const daemon = yield* Daemon.Service
|
||||
const transport = yield* (input.standalone ? Standalone.transport() : daemon.transport())
|
||||
const { runTui } = yield* Effect.promise(() => import("../../tui"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue