From b989e59e03faa50484b8edbbd484357ee0ed2d81 Mon Sep 17 00:00:00 2001 From: adueck Date: Wed, 27 Nov 2024 22:39:47 +0500 Subject: [PATCH] m --- functions/lib/spreadsheet-tools.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/functions/lib/spreadsheet-tools.ts b/functions/lib/spreadsheet-tools.ts index 740d646..a0af4e1 100644 --- a/functions/lib/spreadsheet-tools.ts +++ b/functions/lib/spreadsheet-tools.ts @@ -60,7 +60,13 @@ export async function getEntriesFromSheet({ if (dictionaryEntryBooleanFields.includes(k)) { return [[k, x.toLowerCase() === "true"]]; } - return [[k, k.endsWith("p") ? standardizePashto(x.trim()) : x.trim()]]; + return [ + [ + k, + // @ts-ignore (for some reason the CI build is failing without this ignore) + k.endsWith("p") ? standardizePashto(x.trim()) : x.trim(), + ], + ]; }); return processedRow; }