mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 02:49:03 +08:00
Update diff.ts
This commit is contained in:
parent
63a283bfe7
commit
723e7b7c60
@ -86,9 +86,10 @@ export async function deriveDiff(meta: Meta, document: Document): Promise<Docume
|
||||
color: false,
|
||||
wordDiff: false
|
||||
});
|
||||
|
||||
meta.logger.debug("Diff text", { diffText });
|
||||
if (diffText) {
|
||||
const diffStructured = parseDiff(diffText);
|
||||
meta.logger.debug("Diff structured", { diffStructured });
|
||||
document.changeTracking.diff = {
|
||||
text: diffText,
|
||||
json: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user