Fix stupid issue created by last commit
This commit is contained in:
parent
f27aab1d3d
commit
c24794be40
|
@ -46,13 +46,13 @@ function getKey(element: cheerio.Cheerio<cheerio.Element>) {
|
|||
numbers.forEach((value, i) => {
|
||||
console.log(value == "");
|
||||
if (value == "") {
|
||||
numbers.splice(i, i);
|
||||
numbers.splice(i, 1);
|
||||
}
|
||||
});
|
||||
|
||||
stars.forEach((value, i) => {
|
||||
if (value == "") {
|
||||
numbers.splice(i, i);
|
||||
stars.splice(i, 1);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue