Update validate.js

This commit is contained in:
Aleksandr Statciuk 2022-04-09 16:25:28 +03:00
parent 95cd92015b
commit a79a04b54f

View file

@ -63,7 +63,6 @@ async function main() {
let fileErrors = [] let fileErrors = []
if (filename === 'channels') { if (filename === 'channels') {
fileErrors = fileErrors.concat(findDuplicatesById(rows)) fileErrors = fileErrors.concat(findDuplicatesById(rows))
for (const [i, row] of rows.entries()) { for (const [i, row] of rows.entries()) {
fileErrors = fileErrors.concat(validateChannelBroadcastArea(row, i)) fileErrors = fileErrors.concat(validateChannelBroadcastArea(row, i))
fileErrors = fileErrors.concat(validateChannelSubdivision(row, i)) fileErrors = fileErrors.concat(validateChannelSubdivision(row, i))