Commit e044274d authored by nanahira's avatar nanahira

fix

parent 7f3dd2ed
......@@ -27,8 +27,9 @@ async function main() {
const cards = await PackDbFetcher.fetchOnce(dbreader, `date <= '${DATE}'`);
console.log(cards.length);
const extraBanlist = await getBanlist();
await dbreader.run(cards, {
extraBanlists: [await getBanlist()],
extraBanlists: extraBanlist ? [extraBanlist] : undefined,
});
process.exit();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment