minor changes

This commit is contained in:
2026-08-01 11:27:26 +02:00
parent 566e766d5c
commit fc712cecba
-1
View File
@@ -172,7 +172,6 @@ async function splitExcelFile(inputFile) {
await workbook.xlsx.readFile(inputFile); await workbook.xlsx.readFile(inputFile);
const worksheet = workbook.getWorksheet(1); const worksheet = workbook.getWorksheet(1);
const headerRow = worksheet.getRow(1).actualCellCount; //number of columns of the table
numRows = (worksheet.actualRowCount) - 1; // since it counts the row that represents the header, I need to subtract -1 numRows = (worksheet.actualRowCount) - 1; // since it counts the row that represents the header, I need to subtract -1
// to get the actual number of rows that contains the data // to get the actual number of rows that contains the data