More Schema Fixing

This commit is contained in:
zkldi
2021-04-21 17:07:26 +01:00
parent f263678399
commit 34090e0144
3 changed files with 78 additions and 27 deletions
+5 -1
View File
@@ -81,7 +81,9 @@ async function ValidateScores(): Promise<void> {
if (res === null) {
successCount++;
} else {
logger.error(`[${res.keychain}] ${res.message}: ${res.userVal}`);
logger.error(
`[${game} ${playtype}] [${res.keychain}] ${res.message}: ${res.userVal}`
);
fails.push({ err: res, doc: c });
}
});
@@ -119,6 +121,8 @@ async function ValidateScores(): Promise<void> {
);
logger.info(`Success: ${globalSuccess} (${((globalSuccess * 100) / globalTotal).toFixed(2)}%)`);
logger.info(`Fail: ${globalFail} (${((globalFail * 100) / globalTotal).toFixed(2)}%)`);
// process.exit(1);
}
// ValidateStaticSchemas();