chore: generate

This commit is contained in:
opencode-agent[bot]
2026-02-09 19:27:52 +00:00
parent 18be23211a
commit 6a2c5d3eaa
+1 -1
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) {