Commit a688b89d authored by nanahira's avatar nanahira

fix

parent 34d08b7c
Pipeline #24716 passed with stages
in 2 minutes and 7 seconds
......@@ -368,7 +368,9 @@ async function main() {
);
const formattedCards = await Promise.all(cards.map(formatCard));
// order by createTime desc
if (formattedCards[0].createTime != null) {
formattedCards.sort((a, b) => b.createTime - a.createTime);
}
console.log(JSON.stringify(formattedCards, null, 2));
process.exit(0);
}
......
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