Skip to content

Commit 26ff322

Browse files
committed
fix(session): remove redundant deduplication check for directories
1 parent aea1113 commit 26ff322

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/opencode/src/session/prompt.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,8 +856,6 @@ export namespace SessionPrompt {
856856
const stat = await Bun.file(filepath).stat()
857857

858858
if (stat.isDirectory()) {
859-
if (loaded.has(filepath)) return []
860-
loaded.add(filepath)
861859
part.mime = "application/x-directory"
862860
}
863861

0 commit comments

Comments
 (0)