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

@ -12,7 +12,7 @@ export class CountryValidator extends Validator {
validate(country: Country): Collection {
const { languagesKeyByCode }: DataLoaderData = this.data
let errors = new Collection()
const errors = new Collection()
const joiResults = country.getSchema().validate(country.data(), { abortEarly: false })
if (joiResults.error) {