mirror of https://github.com/node-red/node-red.git
revert changes to csv parser
parent
2c3fbb1467
commit
6af3c8c2a9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue