@ -1,7 +1,7 @@
{
"name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js",
"version": "2.18.1",
"version": "2.18.2",
"main": "package.json",
"author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git",
@ -29,7 +29,7 @@ export function parse(output: string, fullscore: number) {
if (p === 1) {
status = STATUS.STATUS_ACCEPTED;
score = fullscore;
const base = output.split('points ')[1] || '';
const base = output.replace('points ', '') || '';
message = base.substring(base.indexOf(' '), 1024);
} else score = Math.floor(fullscore * p);
}