Explorar el Código

chore: generate

opencode-agent[bot] hace 3 meses
padre
commit
91bd295209
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      packages/opencode/src/tool/bash.ts

+ 2 - 3
packages/opencode/src/tool/bash.ts

@@ -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)