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 TimezoneValidator extends Validator {
|
|||
validate(timezone: Timezone): Collection {
|
||||
const { countriesKeyByCode }: DataLoaderData = this.data
|
||||
|
||||
let errors = new Collection()
|
||||
const errors = new Collection()
|
||||
|
||||
const joiResults = timezone.getSchema().validate(timezone.data(), { abortEarly: false })
|
||||
if (joiResults.error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue