Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
adueck committed Nov 27, 2024
1 parent f9e223f commit b989e59
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion functions/lib/spreadsheet-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b989e59

Please sign in to comment.