mirror of
https://github.com/iptv-org/database.git
synced 2025-05-09 19:20:01 -04:00
Fix linter issues
This commit is contained in:
parent
a28122809a
commit
dac7d19f40
13 changed files with 15 additions and 16 deletions
|
@ -12,7 +12,7 @@ export class SubdivisionValidator extends Validator {
|
|||
validate(subdivision: Subdivision): Collection {
|
||||
const { countriesKeyByCode }: DataLoaderData = this.data
|
||||
|
||||
let errors = new Collection()
|
||||
const errors = new Collection()
|
||||
|
||||
const joiResults = subdivision.getSchema().validate(subdivision.data(), { abortEarly: false })
|
||||
if (joiResults.error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue