Skip to content

Commit

Permalink
fix: mixed content build without rows at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
leoreisdias committed Sep 8, 2023
1 parent aec3e9e commit 181af3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "excel-ent",
"version": "4.2.1",
"version": "4.2.3",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
4 changes: 3 additions & 1 deletion src/helpers/rows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ const handleMixedStructure = (data: ExcelEntDataStructure) => {

rows.push(...transposed);

currentIndex = nextRowIndex === -1 ? currentIndex : nextRowIndex;
if (nextRowIndex === -1) break;

currentIndex = nextRowIndex;
}
}

Expand Down

0 comments on commit 181af3e

Please sign in to comment.