Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
odykyi authored and wdavidw committed Oct 4, 2019
1 parent f39c484 commit 3dfe906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/es5/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ function (_Transform) {

if (skip_lines_with_empty_values === true) {
if (record.every(function (field) {
return field.trim() === '';
return field.toString().trim() === '';
})) {
this.__resetRow();

Expand Down Expand Up @@ -1258,4 +1258,4 @@ var normalizeColumnsArray = function normalizeColumnsArray(columns) {


return normalizedColumns;
};
};

0 comments on commit 3dfe906

Please sign in to comment.