chore: error thrown on delimiter missing

This commit is contained in:
Chesterkxng 2026-03-15 03:41:27 +01:00
commit 64e40d7c87

View file

@ -82,6 +82,8 @@ export function convertJsonToCsv(
): string {
const { delimiter, includeHeaders } = options;
if (!delimiter) throw new Error('No CSV delimiter.');
let parsed: unknown;
try {