We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e0de90 commit 8e8bb12Copy full SHA for 8e8bb12
1 file changed
apps/sim/app/api/logs/export/route.ts
@@ -17,7 +17,7 @@ export const revalidate = 0
17
18
function escapeCsv(value: any): string {
19
if (value === null || value === undefined) return ''
20
- const str = neutralizeCsvFormula(String(value))
+ const str = typeof value === 'string' ? neutralizeCsvFormula(value) : String(value)
21
if (/[",\n]/.test(str)) {
22
return `"${str.replace(/"/g, '""')}"`
23
}
0 commit comments