Skip to content

Commit

Permalink
fix: wrong call to processValue (#454)
Browse files Browse the repository at this point in the history
juanjoDiaz authored Apr 18, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8e54ea5 commit 66abd45
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 66abd45

Please sign in to comment.