fix: csv parser ignoring last entry

This commit is contained in:
Aetherinox 2024-04-21 04:46:14 -07:00
parent 154568c182
commit 88fb7e59f5
No known key found for this signature in database
GPG Key ID: CB5C4C30CD0D4028
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class CsvParser {
this.result = [];
this.next = this.handleBeforeValue;
this.index = 0;
while (this.next && this.index <= this.csv.length) {
while (this.next && this.index < this.csv.length) {
this.next = this.next(this);
}
if (this.lines.length <= 1) {