prueba for <=

This commit is contained in:
casnet1
2020-12-04 17:21:22 -06:00
parent a36a9cedcf
commit b6f01ee959
+1 -1
View File
@@ -50,7 +50,7 @@ async function readExecel ( path )
try{
await readXlsxFile(`${__dirname}/ArchivosCarga/cargaLibro.xlsx`).then(async (rows) => {
//console.log(`Este es el renglon: ${rows}`);
for(let i=1; i< rows.length ; i++)
for(let i=1; i <= rows.length ; i++)
{
try{
let titulo = corregir(rows [i][0]);