summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/opencode/src/file/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/opencode/src/file/index.ts b/packages/opencode/src/file/index.ts
index 9e269b43d..d9e61fa5d 100644
--- a/packages/opencode/src/file/index.ts
+++ b/packages/opencode/src/file/index.ts
@@ -102,6 +102,7 @@ export namespace File {
const full = path.join(app.path.cwd, file)
const content = await Bun.file(full)
.text()
+ .catch(() => "")
.then((x) => x.trim())
if (app.git) {
const rel = path.relative(app.path.root, full)