fix script

This commit is contained in:
方而静 2022-10-27 17:31:38 +08:00
parent 167ae0b77a
commit 95b38bced4

View File

@ -5,6 +5,7 @@ async function main() {
let list = await readdir('.');
list = list.sort((x, y) => x.toLowerCase() < y.toLowerCase() ? -1 : 1);
for (let f of list) {
if (f == '_full_list.txt') { continue; }
let c = await readFile(f, 'utf8');
let l = c.split('\n')[0];
res += l;