aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2020-03-08 09:41:12 +0100
committerLibravatar vantezzen <hello@vantezzen.io>2020-03-08 09:41:12 +0100
commite6482387bbe2a957e4dd0850ccda8610845e89d7 (patch)
treed669ddc76b348fe5929eb85d871c1ce1739bbb30 /scripts
parentLogging difset to test TravisCI (diff)
downloadferdium-recipes-e6482387bbe2a957e4dd0850ccda8610845e89d7.tar.gz
ferdium-recipes-e6482387bbe2a957e4dd0850ccda8610845e89d7.tar.zst
ferdium-recipes-e6482387bbe2a957e4dd0850ccda8610845e89d7.zip
Outputting file information to debug TravisCI
Diffstat (limited to 'scripts')
-rw-r--r--scripts/verify-all.js9
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