Skip to content

Commit fd6ee99

Browse files
committed
Avoid double wrapping on header
1 parent 65829f7 commit fd6ee99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/json2csv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export const Json2Csv = function(options: FullJson2CsvOptions) {
155155
headerKey = headerKey.replace(/\\\./g, '.');
156156
}
157157

158-
return wrapFieldValueIfNecessary(headerKey);
158+
return headerKey;
159159
})
160160
.join(options.delimiter.field);
161161
return params;

0 commit comments

Comments
 (0)