diff options
author | 2020-03-08 09:49:51 +0100 | |
---|---|---|
committer | 2020-03-08 09:49:51 +0100 | |
commit | da78f8cad444da6d047d3cc1091417f1d94013b9 (patch) | |
tree | 99f0639d5b72d758940d04983a7119a76192008b /scripts/verify-all.js | |
parent | Fix file read (diff) | |
download | ferdium-recipes-da78f8cad444da6d047d3cc1091417f1d94013b9.tar.gz ferdium-recipes-da78f8cad444da6d047d3cc1091417f1d94013b9.tar.zst ferdium-recipes-da78f8cad444da6d047d3cc1091417f1d94013b9.zip |
Add diff reason to verify output
Diffstat (limited to 'scripts/verify-all.js')
-rw-r--r-- | scripts/verify-all.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) => { | |||
72 | // Output information about differences | 72 | // Output information about differences |
73 | for (const file of compare.diffSet) { | 73 | for (const file of compare.diffSet) { |
74 | if (file.state !== 'equal') { | 74 | if (file.state !== 'equal') { |
75 | console.log(`- "${file.name1 || file.name2}" is not equal (${file.type1} in uncompressed, ${file.type2} in archive)`); | 75 | console.log(`- "${file.name1 || file.name2}" is not equal (${file.type1} in uncompressed, ${file.type2} in archive => ${file.reason})`); |
76 | 76 | ||
77 | if (file.name1) { | 77 | if (file.name1) { |
78 | const filePath = path.join(file.path1, file.name1); | 78 | const filePath = path.join(file.path1, file.name1); |