don't log unless needed
This commit is contained in:
parent
6cd141544c
commit
6ae69c2fec
@ -147,7 +147,7 @@ export async function getScoreSaberPlayerFromToken(
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (missingDays > 0) {
|
if (missingDays > 0 && missingDays != playerRankHistory.length) {
|
||||||
console.log(
|
console.log(
|
||||||
`Player has ${missingDays} missing day${missingDays > 1 ? "s" : ""}, filling in with fallback history...`
|
`Player has ${missingDays} missing day${missingDays > 1 ? "s" : ""}, filling in with fallback history...`
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user