oops prob was with workflow prob

This commit is contained in:
adueck 2024-11-27 22:47:47 +05:00
parent 5abb4ee5c9
commit a307ddf84b
2 changed files with 4 additions and 9 deletions

View File

@ -25,8 +25,9 @@ jobs:
npm install
cd website
npm install
cd ..
cd account
cd ../functions
npm install
cd ../account
npm install
npm run build
npm prune --production

View File

@ -60,13 +60,7 @@ export async function getEntriesFromSheet({
if (dictionaryEntryBooleanFields.includes(k)) {
return [[k, x.toLowerCase() === "true"]];
}
return [
[
k,
// @ts-ignore (for some reason the CI build is failing without this ignore)
k.endsWith("p") ? standardizePashto(x.trim()) : x.trim(),
],
];
return [[k, k.endsWith("p") ? standardizePashto(x.trim()) : x.trim()]];
});
return processedRow;
}