mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
ignore: read deleted files
This commit is contained in:
parent
6389858d41
commit
9e75e3ed18
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue