Skip to main content

Function: runCheck()

runCheck(options, log?): Promise<CheckResult>

Defined in: index.ts:428

ttoss-i18n check: fail CI when a required locale is missing a translation, an id is declared twice with different text, or a persisted message has no explicit id. Writes nothing.

Parameters​

ParameterTypeDefault value
optionsI18nCliOptionsundefined
logPick<Console, "log" | "error">console

Returns​

Promise<CheckResult>