Commit e044274d authored by nanahira's avatar nanahira

fix

parent 7f3dd2ed
Pipeline #29363 passed with stages
in 1 minute and 30 seconds
...@@ -27,8 +27,9 @@ async function main() { ...@@ -27,8 +27,9 @@ async function main() {
const cards = await PackDbFetcher.fetchOnce(dbreader, `date <= '${DATE}'`); const cards = await PackDbFetcher.fetchOnce(dbreader, `date <= '${DATE}'`);
console.log(cards.length); console.log(cards.length);
const extraBanlist = await getBanlist();
await dbreader.run(cards, { await dbreader.run(cards, {
extraBanlists: [await getBanlist()], extraBanlists: extraBanlist ? [extraBanlist] : undefined,
}); });
process.exit(); 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