diff options
-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 | } |