forked from DebaucheryLibrarian/traxxx
Filtering invalid actors from releases before storing.
This commit is contained in:
@@ -64,8 +64,8 @@ async function fetchIncludedEntities() {
|
||||
includeAll: !argv.networks && !argv.channels && !config.include?.networks && !config.include?.channels,
|
||||
includedNetworks: argv.networks || (!argv.channels && config.include?.networks) || [],
|
||||
includedChannels: argv.channels || (!argv.networks && config.include?.channels) || [],
|
||||
excludedNetworks: argv.excludeNetworks || config.exclude?.networks || [],
|
||||
excludedChannels: argv.excludeChannels || config.exclude?.channels || [],
|
||||
excludedNetworks: argv.excludeNetworks || config.exclude?.networks.filter(network => !argv.networks?.includes(network)) || [], // ignore explicitly included networks
|
||||
excludedChannels: argv.excludeChannels || config.exclude?.channels.filter(channel => !argv.channels?.includes(channel)) || [], // ignore explicitly included channels
|
||||
};
|
||||
|
||||
const rawNetworks = await knex.raw(`
|
||||
|
||||
Reference in New Issue
Block a user