Fix missing semicolons

Ensure all statements end with a semicolon.
This commit is contained in:
Hornwitser committed 2020-06-17 20:53:18 +02:00
1 parent 34aaeee354
commit 29f066a191
56 files changed
+242 -242

No files matched your search

+3 -3
View File
@@ -14,8 +14,8 @@ const fs = require("fs");
*/
function hashStream(stream) {
return new Promise(function(resolve, reject) {
let hasher = crypto.createHash("sha1")
hasher.setEncoding("hex")
let hasher = crypto.createHash("sha1");
hasher.setEncoding("hex");
hasher.on("finish", function() {
resolve(hasher.read());
});
@@ -42,4 +42,4 @@ function hashFile(path) {
module.exports = {
hashStream,
hashFile,
}
};