chore: generate

This commit is contained in:
opencode-agent[bot] 2026-08-13 16:15:38 +00:00
parent 20929b3081
commit 595e4c8c96
2 changed files with 6 additions and 4 deletions

View file

@ -48,9 +48,9 @@ export const ripgrepLayer = Layer.effect(
Effect.sync(() => {
next.files.push(entry.path)
const parts = entry.path.split("/")
parts.slice(0, -1).forEach((_, offset) =>
next.directories.add(parts.slice(0, offset + 1).join("/") + path.sep),
)
parts
.slice(0, -1)
.forEach((_, offset) => next.directories.add(parts.slice(0, offset + 1).join("/") + path.sep))
}),
})
index = next

View file

@ -68,7 +68,9 @@ describe("FileSystemSearch", () => {
Location.node,
Layer.succeed(
Location.Service,
Location.Service.of(location({ directory: AbsolutePath.make(path.join(os.tmpdir(), "opencode-search-atomic")) })),
Location.Service.of(
location({ directory: AbsolutePath.make(path.join(os.tmpdir(), "opencode-search-atomic")) }),
),
),
],
[