Fix stupid issue created by last commit

This commit is contained in:
Amelia 2022-06-05 18:37:56 +01:00
parent f27aab1d3d
commit c24794be40
1 changed files with 2 additions and 2 deletions

View File

@ -46,13 +46,13 @@ function getKey(element: cheerio.Cheerio<cheerio.Element>) {
numbers.forEach((value, i) => { numbers.forEach((value, i) => {
console.log(value == ""); console.log(value == "");
if (value == "") { if (value == "") {
numbers.splice(i, i); numbers.splice(i, 1);
} }
}); });
stars.forEach((value, i) => { stars.forEach((value, i) => {
if (value == "") { if (value == "") {
numbers.splice(i, i); stars.splice(i, 1);
} }
}); });