Skip to content

Commit

Permalink
#25 - bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mechatroner committed May 9, 2021
1 parent 69fc961 commit 695bd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbql-js/rbql_csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class CSVRecordIterator extends rbql.RBQLInputIterator {
return;

let record = null;
if (this.first_record_should_be_emitted) {
if (this.first_record_should_be_emitted && this.header_preread_complete) {
this.first_record_should_be_emitted = false;
record = this.first_record;
} else {
Expand Down

0 comments on commit 695bd7c

Please sign in to comment.