mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 15:19: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,
|
color: false,
|
||||||
wordDiff: false
|
wordDiff: false
|
||||||
});
|
});
|
||||||
|
meta.logger.debug("Diff text", { diffText });
|
||||||
if (diffText) {
|
if (diffText) {
|
||||||
const diffStructured = parseDiff(diffText);
|
const diffStructured = parseDiff(diffText);
|
||||||
|
meta.logger.debug("Diff structured", { diffStructured });
|
||||||
document.changeTracking.diff = {
|
document.changeTracking.diff = {
|
||||||
text: diffText,
|
text: diffText,
|
||||||
json: {
|
json: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user