chore: update lint

This commit is contained in:
Anthony Fu 2023-03-19 13:12:20 +01:00
parent c7558ee7c5
commit 9465c2fe89
20 changed files with 164 additions and 124 deletions

View file

@ -114,7 +114,7 @@ async function prepareTranslationStatus() {
}
Object.keys(data).filter(k => k !== 'en').forEach((e) => {
const percentage = total <= 0.0 || data[e].total === 0.0
const percentage = (total <= 0.0 || data[e].total === 0.0)
? '0'
: data[e].total === total
? '100'