Преглед изворни кода

ignore: read deleted files

Dax Raad пре 9 месеци
родитељ
комит
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)