The open source coding agent.
TypeScript
chore: generate
opencode-agent[bot]8da511dfa825
diff --git a/packages/opencode/src/file/index.ts b/packages/opencode/src/file/index.tsindex 09bcf92901a..44c04e9e434 100644--- a/packages/opencode/src/file/index.ts+++ b/packages/opencode/src/file/index.ts@@ -409,9 +409,7 @@ export class FileService extends ServiceMap.Service<FileService, FileService.Serdirs.add(entry.name + "/")const base = path.join(instance.directory, entry.name)- const children = await fs.promises- .readdir(base, { withFileTypes: true })- .catch(() => [] as fs.Dirent[])+ const children = await fs.promises.readdir(base, { withFileTypes: true }).catch(() => [] as fs.Dirent[])for (const child of children) {if (!child.isDirectory()) continueif (shouldIgnoreNested(child.name)) continue