mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-07 09:11:42 +00:00
chore: generate
This commit is contained in:
parent
d4bf70be06
commit
91bd295209
1 changed files with 2 additions and 3 deletions
|
|
@ -598,9 +598,8 @@ export const BashTool = Tool.define(
|
|||
const ps = Shell.ps(shell)
|
||||
yield* Effect.scoped(
|
||||
Effect.gen(function* () {
|
||||
const tree = yield* Effect.acquireRelease(
|
||||
parse(params.command, ps),
|
||||
(tree) => Effect.sync(() => tree.delete()),
|
||||
const tree = yield* Effect.acquireRelease(parse(params.command, ps), (tree) =>
|
||||
Effect.sync(() => tree.delete()),
|
||||
)
|
||||
const scan = yield* collect(tree.rootNode, cwd, ps, shell)
|
||||
if (!Instance.containsPath(cwd)) scan.dirs.add(cwd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue