diff options
author | vantezzen <hello@vantezzen.io> | 2020-03-08 09:43:06 +0100 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2020-03-08 09:43:06 +0100 |
commit | 06b38f59f69e1a41b8c56ced8dbecfa59f433025 (patch) | |
tree | ec5bf1c7030b57b80c2a04f7abd12b5a45408513 /scripts | |
parent | Outputting file information to debug TravisCI (diff) | |
download | ferdium-recipes-06b38f59f69e1a41b8c56ced8dbecfa59f433025.tar.gz ferdium-recipes-06b38f59f69e1a41b8c56ced8dbecfa59f433025.tar.zst ferdium-recipes-06b38f59f69e1a41b8c56ced8dbecfa59f433025.zip |
Fix file read
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/verify-all.js | 4 |
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 | } |