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 npm install
cd website cd website
npm install npm install
cd .. cd ../functions
cd account npm install
cd ../account
npm install npm install
npm run build npm run build
npm prune --production npm prune --production

View File

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