error mio
This commit is contained in:
@@ -172,14 +172,14 @@ const archivosFicheros = async () => {
|
||||
} while (pageToken);
|
||||
for (let i = 0; i < carpetas.length; i++) {
|
||||
for (let j = i + 1; j < carpetas.length; j++) {
|
||||
if (carpetas[i].id === carpetas[j].id)
|
||||
if (carpetas[i].name === carpetas[j].name)
|
||||
carpetasRepetidas.push(carpetas[i]);
|
||||
}
|
||||
}
|
||||
console.log(carpetasRepetidas);
|
||||
};
|
||||
|
||||
// archivosFicheros();
|
||||
archivosFicheros();
|
||||
|
||||
module.exports = {
|
||||
folder,
|
||||
|
||||
Reference in New Issue
Block a user