Dax Raad 7 месяцев назад
Родитель
Сommit
9e75e3ed18
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      packages/opencode/src/file/index.ts

+ 1 - 0
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)