Commit 60bc0108 authored by nanahira's avatar nanahira

add finish log

parent 1b749299
Pipeline #222 passed with stages
in 1 minute and 16 seconds
...@@ -27,8 +27,7 @@ async function main() { ...@@ -27,8 +27,7 @@ async function main() {
await fetcher.init(); await fetcher.init();
if (config.server) { if (config.server) {
await Promise.all(config.server.map(runServer)); await Promise.all(config.server.map(runServer));
return; } else {
}
const userListWithServer = await Promise.all(servers.map(runServer)); const userListWithServer = await Promise.all(servers.map(runServer));
const allServersList: any = {}; const allServersList: any = {};
for (let i = 0; i < servers.length;++i) { for (let i = 0; i < servers.length;++i) {
...@@ -38,6 +37,8 @@ async function main() { ...@@ -38,6 +37,8 @@ async function main() {
date: fetcher.date, date: fetcher.date,
data: allServersList data: allServersList
}, null, 2)); }, null, 2));
}
console.log("Finished.");
process.exit(); process.exit();
} }
main(); main();
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