Linting.
This commit is contained in:
parent
1c306b60e7
commit
ea3854aa01
|
@ -6,7 +6,7 @@ exports.csv = function (headers, rows) {
|
||||||
.map(header => {
|
.map(header => {
|
||||||
let val = row[header]
|
let val = row[header]
|
||||||
val = typeof val === "object" ? JSON.stringify(val) : val
|
val = typeof val === "object" ? JSON.stringify(val) : val
|
||||||
return `"${val}"`.trim()
|
return `"${val}"`.trim()
|
||||||
})
|
})
|
||||||
.join(",")}`
|
.join(",")}`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue