This commit is contained in:
mike12345567 2021-08-04 18:22:53 +01:00
parent 1c306b60e7
commit ea3854aa01
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ exports.csv = function (headers, rows) {
.map(header => {
let val = row[header]
val = typeof val === "object" ? JSON.stringify(val) : val
return `"${val}"`.trim()
return `"${val}"`.trim()
})
.join(",")}`
}