chore: generate
parent
3dc720ff9c
commit
d9b4535d64
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue