Rename config.ignore to config.skip

This commit is contained in:
Aleksandr Statciuk 2022-11-12 00:50:38 +03:00
parent cc3e319da3
commit 2afe3ff92d
19 changed files with 20 additions and 20 deletions

View file

@ -42,7 +42,7 @@ async function createQueue() {
if (!site) continue
const configPath = `${dir}/${site}.config.js`
const config = require(file.resolve(configPath))
if (config.ignore) continue
if (config.skip) continue
const filename = file.basename(filepath)
const [__, region] = filename.match(/_([a-z-]+)\.channels\.xml/i) || [null, null]
const groupId = `${region}/${site}`