From 36f87c573b31150814377f0fce1408016af9ce55 Mon Sep 17 00:00:00 2001 From: Adrien NUNES <anunes.etudiant@gmail.com> Date: Tue, 14 Nov 2023 18:02:18 +0100 Subject: [PATCH] Remove useless log --- commands/DatabaseCommand.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/commands/DatabaseCommand.js b/commands/DatabaseCommand.js index 1401a11..3c9250f 100644 --- a/commands/DatabaseCommand.js +++ b/commands/DatabaseCommand.js @@ -107,11 +107,6 @@ class DatabaseCommand{ return wrongCatMessage(category); } const wrongIndexes = indexes.filter(index => index < 0 || index >= list.length); - - console.log(list); - console.log(list.length); - console.log(wrongIndexes); - if(wrongIndexes.length > 0) return `${wrongIndexes.join(',')} invalides pour '${category}'`; const newList = list.filter((_, index) => !indexes.includes(index)); -- GitLab