Fix linter issues

This commit is contained in:
freearhey 2025-04-29 00:28:42 +03:00
parent a28122809a
commit dac7d19f40
13 changed files with 15 additions and 16 deletions

View file

@ -9,7 +9,7 @@ export class LanguageValidator extends Validator {
}
validate(language: Language): Collection {
let errors = new Collection()
const errors = new Collection()
const joiResults = language.getSchema().validate(language.data(), { abortEarly: false })
if (joiResults.error) {