aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/verify-all.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2020-03-08 09:43:06 +0100
committerLibravatar vantezzen <hello@vantezzen.io>2020-03-08 09:43:06 +0100
commit06b38f59f69e1a41b8c56ced8dbecfa59f433025 (patch)
treeec5bf1c7030b57b80c2a04f7abd12b5a45408513 /scripts/verify-all.js
parentOutputting file information to debug TravisCI (diff)
downloadferdium-recipes-06b38f59f69e1a41b8c56ced8dbecfa59f433025.tar.gz
ferdium-recipes-06b38f59f69e1a41b8c56ced8dbecfa59f433025.tar.zst
ferdium-recipes-06b38f59f69e1a41b8c56ced8dbecfa59f433025.zip
Fix file read
Diffstat (limited to 'scripts/verify-all.js')
-rw-r--r--scripts/verify-all.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/verify-all.js b/scripts/verify-all.js
index adc5a12..3d7254b 100644
--- a/scripts/verify-all.js
+++ b/scripts/verify-all.js
@@ -76,11 +76,11 @@ const decompress = (src, dest) => new Promise((resolve, reject) => {
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);
79 console.log('File1:', await fs.read(filePath, 'utf-8')); 79 console.log('File1:', await fs.readFile(filePath, 'utf-8'));
80 } 80 }
81 if (file.name2) { 81 if (file.name2) {
82 const filePath = path.join(file.path2, file.name2); 82 const filePath = path.join(file.path2, file.name2);
83 console.log('File2:', await fs.read(filePath, 'utf-8')); 83 console.log('File2:', await fs.readFile(filePath, 'utf-8'));
84 } 84 }
85 } 85 }
86 } 86 }