From 6703ede9e8e0a4f9def231b18bd989888dd71aca Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 1 Sep 2021 18:26:36 -0400 Subject: [PATCH] Better diff output --- platform/dig/snfe.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/platform/dig/snfe.js b/platform/dig/snfe.js index 789924ac7..43386ca6b 100644 --- a/platform/dig/snfe.js +++ b/platform/dig/snfe.js @@ -182,7 +182,13 @@ async function compare(results) { const a = before.get(i); const b = after.get(i); if ( a.r === b.r ) { continue; } - diffs.push([ i, { before: a, after: b } ]); + diffs.push([ i, { + type: a.type, + url: a.url, + originURL: a.originURL, + before: { r: a.r, f: a.f, t: a.t }, + after: { r: b.r, f: b.f, t: b.t }, + }]); } return diffs; }