From 3fff58353c76cf867daf99618e5cd7469a82a1b1 Mon Sep 17 00:00:00 2001 From: Anuj Koli Date: Sun, 5 Dec 2021 11:13:01 -0500 Subject: [PATCH] Fixed issue with Csv parser parse (#1904) --- app/scripts/util/data/csv-parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/util/data/csv-parser.js b/app/scripts/util/data/csv-parser.js index df870ea5..e553bc05 100644 --- a/app/scripts/util/data/csv-parser.js +++ b/app/scripts/util/data/csv-parser.js @@ -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) {