chore(docs): format link checker
This commit is contained in:
parent
9e93884e7f
commit
f2f950e738
|
|
@ -80,9 +80,7 @@ const result = checkDocsIntegrity({
|
|||
})
|
||||
|
||||
const missingCounts = Object.values(result.localeMissingPages).map((pages) => pages.length)
|
||||
const translationCounts = missingCounts.map(
|
||||
(missing) => result.canonicalPageCount - missing
|
||||
)
|
||||
const translationCounts = missingCounts.map((missing) => result.canonicalPageCount - missing)
|
||||
console.log(
|
||||
`Translation coverage: ${Math.min(...translationCounts)}–${Math.max(...translationCounts)} of ${result.canonicalPageCount} canonical pages per locale.`
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue