Update generated content

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/345/head
CrazyMax 2021-04-16 13:22:09 +02:00
parent 91bb504133
commit 6e53d9494f
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 2 additions and 2 deletions

2
dist/index.js generated vendored
View File

@ -12493,7 +12493,7 @@ class Parser extends Transform {
for(let i = 0, l = record.length; i < l; i++){
if(columns[i] === undefined || columns[i].disabled) continue
// Turn duplicate columns into an array
if (columns_duplicates_to_array === true && obj[columns[i].name]) {
if (columns_duplicates_to_array === true && obj[columns[i].name] !== undefined) {
if (Array.isArray(obj[columns[i].name])) {
obj[columns[i].name] = obj[columns[i].name].concat(record[i])
} else {