This commit is contained in:
be5invis 2023-07-10 23:20:33 -07:00
parent c65131ecd3
commit 3766d82d8c

View file

@ -21,7 +21,7 @@ function hashFile(path) {
});
}
export default (async function (out, archiveFiles) {
const filesToAnalyze = Array.from(new Set(archiveFiles.map(f => f.full))).sort;
const filesToAnalyze = Array.from(new Set(archiveFiles.map(f => f.full))).sort();
let s = "";
for (const file of filesToAnalyze) {
s += `${file.base}\t${await hashFile(file)}\n`;