chore: generate

This commit is contained in:
opencode-agent[bot]
2026-02-09 19:27:52 +00:00
parent 3dc720ff9c
commit d9b4535d64

View File

@@ -229,7 +229,7 @@ export namespace ACP {
const filepath = typeof metadata["filepath"] === "string" ? metadata["filepath"] : ""
const diff = typeof metadata["diff"] === "string" ? metadata["diff"] : ""
const file = Bun.file(filepath)
const content = await file.exists() ? await file.text() : ""
const content = (await file.exists()) ? await file.text() : ""
const newContent = getNewContent(content, diff)
if (newContent) {