chore: generate
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user