revert changes to csv parser

pull/4982/head
Steve-Mcl 2024-12-12 16:41:26 +00:00
parent 2c3fbb1467
commit 6af3c8c2a9
1 changed files with 2 additions and 2 deletions

View File

@ -200,9 +200,9 @@ function parse(csvIn, parseOptions) {
if (!headers[i]) {
continue
}
quotedHeaders.push(quoteCell(headers[i], { quote, separator }))
quotedHeaders.push(quoteCell(headers[i], { quote, separator: ',' }))
}
finalResult.header = quotedHeaders.join(separator) // always quote headers and join with comma
finalResult.header = quotedHeaders.join(',') // always quote headers and join with comma
// output is an array of arrays [[],[],[]]
if (ouputArrays || headersOnly) {