Skip to content

Commit 8c730e8

Browse files
committed
defined variable
1 parent e76ce5a commit 8c730e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/helpers/hashUtil.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const batchHashFile = (fileBatch) => {
3838
files = files.map((batch) => {
3939
return (res) => Promise.all(batch.map(hashFile)).then((data) => res.concat(data));
4040
});
41-
hash = files.reduce((acc, curr) => acc.then(curr), Promise.resolve([]));
41+
let hash = files.reduce((acc, curr) => acc.then(curr), Promise.resolve([]));
4242
return hash;
4343
});
4444
};

0 commit comments

Comments
 (0)