This commit is contained in:
mike12345567 2021-08-04 18:22:53 +01:00
parent 217e5a02bf
commit cf5f0b3262
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(",")}`
}