para de cometer errores lpm

This commit is contained in:
Lemuel Marquez
2021-01-18 15:20:07 -06:00
parent 5933e6a782
commit 09453ab766
+1
View File
@@ -329,6 +329,7 @@ const carpetasRepetidas = async () => {
let aux = [carpetas[i]];
for (let j = i + 1; j < carpetas.length; j++) {
if (carpetas[i].name === carpetas[j].name) aux.push(carpetas[j]);
i = j - 1;
break;
}
if (aux.length > 1) repetidas.push(aux);