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

Commit 9c8b584

Browse files
wintonwdavidw
authored andcommitted
Add comment
1 parent 3b85a24 commit 9c8b584

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,7 @@ class Parser extends Transform {
739739
// Transform record array to an object
740740
for(let i = 0, l = record.length; i < l; i++){
741741
if(columns[i] === undefined || columns[i].disabled) continue
742+
// Turn duplicate columns into an array
742743
if (obj[columns[i].name]) {
743744
if (Array.isArray(obj[columns[i].name])) {
744745
obj[columns[i].name] = obj[columns[i].name].concat(record[i])

0 commit comments

Comments
 (0)