mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 16:31:50 +00:00
chore: generate
This commit is contained in:
parent
146ff8ad85
commit
ff4779ca11
1 changed files with 1 additions and 3 deletions
|
|
@ -45,8 +45,6 @@ export const effectCmd = <Args, A>(opts: {
|
|||
// yargs typing wraps Args in ArgumentsCamelCase<WithDoubleDash<...>>; cast at the boundary.
|
||||
const args = rawArgs as unknown as Args
|
||||
const directory = opts.directory?.(args) ?? process.cwd()
|
||||
await AppRuntime.runPromise(
|
||||
InstanceStore.Service.use((s) => s.provide({ directory }, opts.handler(args))),
|
||||
)
|
||||
await AppRuntime.runPromise(InstanceStore.Service.use((s) => s.provide({ directory }, opts.handler(args))))
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue