Skip to content

Commit

Permalink
fix(importer): no error on empty dataSources
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflos committed Jun 27, 2024
1 parent b23a6dc commit 3eed6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/ImporterCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected function checkConfig(OutputInterface $output)
{
if (empty($this->wiki->config['dataSources'])) {
$output->writeln("No data sources found in config, does dataSources contain something?");
return false;
$this->wiki->config['dataSources'] = [];
}
$importers = $this->importer->getAvailableImporters();
foreach ($this->wiki->config['dataSources'] as $id => $source) {
Expand Down

0 comments on commit 3eed6b7

Please sign in to comment.