mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-05 05:18:12 +03:00
Make sure the recalc scripts exit.
This commit is contained in:
@@ -44,5 +44,7 @@ if (require.main === module) {
|
||||
await UpdateScore(badScore, newScore);
|
||||
}
|
||||
}
|
||||
|
||||
process.exit(0);
|
||||
})();
|
||||
}
|
||||
|
||||
@@ -46,6 +46,9 @@ if (require.main === module) {
|
||||
|
||||
resume();
|
||||
})
|
||||
.then(() => logger.info(`Fixed ${i} bad scores.`));
|
||||
.then(() => {
|
||||
logger.info(`Fixed ${i} bad scores.`);
|
||||
process.exit(0);
|
||||
});
|
||||
})();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user