From c24794be406c6294e944f232808085ad4f36671b Mon Sep 17 00:00:00 2001 From: Amelia <9247739-limesey@users.noreply.gitlab.com> Date: Sun, 5 Jun 2022 18:37:56 +0100 Subject: [PATCH] Fix stupid issue created by last commit --- src/scrapers/euromilhoes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scrapers/euromilhoes.ts b/src/scrapers/euromilhoes.ts index 5027d57..7e5e15f 100644 --- a/src/scrapers/euromilhoes.ts +++ b/src/scrapers/euromilhoes.ts @@ -46,13 +46,13 @@ function getKey(element: cheerio.Cheerio) { 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); } });