diff --git a/utility/create-sha-file.mjs b/utility/create-sha-file.mjs index dfea3d1bc..d3590e779 100644 --- a/utility/create-sha-file.mjs +++ b/utility/create-sha-file.mjs @@ -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`;