Skip to content

Commit

Permalink
Appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
joeycumines-scw committed Jun 20, 2024
1 parent 2d89dd7 commit d82632c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { GridApiCommunity } from '../../../../models/api/gridApiCommunity';
import { buildWarning } from '../../../../utils/warning';

function sanitizeCellValue(value: unknown, csvOptions: CSVOptions): string {
const valueStr = typeof value === 'string' ? value : '' + value;
const valueStr = typeof value === 'string' ? value : `${value}`;

if (csvOptions.shouldAppendQuotes || csvOptions.escapeFormulas) {
const escapedValue = valueStr.replace(/"/g, '""');
Expand Down

0 comments on commit d82632c

Please sign in to comment.