Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong call to processValue
Browse files Browse the repository at this point in the history
juanjoDiaz committed Apr 5, 2020

Verified

This commit was signed with the committer’s verified signature.
sdispater Sébastien Eustace
1 parent 8e54ea5 commit 9f60e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/JSON2CSVBase.js
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ class JSON2CSVBase {
*/
getHeader() {
return fastJoin(
this.opts.fields.map(fieldInfo => this.processValue(fieldInfo.label, true)),
this.opts.fields.map(fieldInfo => this.processValue(fieldInfo.label)),
this.opts.delimiter
);
}

0 comments on commit 9f60e2c

Please sign in to comment.