Allowing --actors-update to be used without --actors.

This commit is contained in:
DebaucheryLibrarian 2020-08-12 21:04:38 +02:00
parent d14034d38b
commit f8c9b69f4b
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ async function init() {
const actorsFromFile = argv.actorsFile && await getFileEntries(argv.actorsFile);
const actorNames = (argv.actors || []).concat(actorsFromFile || []);
const actors = (argv.actors || argv.actorsFile) && await scrapeActors(actorNames);
const actors = (argv.actors || argv.actorsUpdate || argv.actorsFile) && await scrapeActors(actorNames);
const actorBaseScenes = argv.actors && argv.actorScenes && actors.map(actor => actor.releases).flat().filter(Boolean);
const updateBaseScenes = (argv.all || argv.channels || argv.networks || argv.movies) && await fetchUpdates();