From da78f8cad444da6d047d3cc1091417f1d94013b9 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Sun, 8 Mar 2020 09:49:51 +0100 Subject: Add diff reason to verify output --- scripts/verify-all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/verify-all.js b/scripts/verify-all.js index 3d7254b..3601055 100644 --- a/scripts/verify-all.js +++ b/scripts/verify-all.js @@ -72,7 +72,7 @@ const decompress = (src, dest) => new Promise((resolve, reject) => { // Output information about differences for (const file of compare.diffSet) { if (file.state !== 'equal') { - console.log(`- "${file.name1 || file.name2}" is not equal (${file.type1} in uncompressed, ${file.type2} in archive)`); + console.log(`- "${file.name1 || file.name2}" is not equal (${file.type1} in uncompressed, ${file.type2} in archive => ${file.reason})`); if (file.name1) { const filePath = path.join(file.path1, file.name1); -- cgit v1.2.3-54-g00ecf