diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/verify-all.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/verify-all.js b/scripts/verify-all.js index 76fb61b..adc5a12 100644 --- a/scripts/verify-all.js +++ b/scripts/verify-all.js | |||
@@ -73,6 +73,15 @@ const decompress = (src, dest) => new Promise((resolve, reject) => { | |||
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)`); |
76 | |||
77 | if (file.name1) { | ||
78 | const filePath = path.join(file.path1, file.name1); | ||
79 | console.log('File1:', await fs.read(filePath, 'utf-8')); | ||
80 | } | ||
81 | if (file.name2) { | ||
82 | const filePath = path.join(file.path2, file.name2); | ||
83 | console.log('File2:', await fs.read(filePath, 'utf-8')); | ||
84 | } | ||
76 | } | 85 | } |
77 | } | 86 | } |
78 | 87 | ||