This commit is contained in:
adueck 2024-11-27 22:39:47 +05:00
parent f9e223fa08
commit b989e59e03
1 changed files with 7 additions and 1 deletions

View File

@ -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;
}