Fix output of ExtractCommand

This commit is contained in:
Viktor Szépe 2023-08-05 21:53:46 +02:00 committed by Jerry Ma
parent 460238a6b0
commit 7a1433a994

View File

@ -25,7 +25,7 @@ class ExtractCommand extends BaseCommand
{
$sources = array_map('trim', array_filter(explode(',', $this->getArgument('sources'))));
if (empty($sources)) {
$this->output->writeln('<erorr>sources cannot be empty, at least contain one !</erorr>');
$this->output->writeln('<error>sources cannot be empty, at least contain one !</error>');
return 1;
}
SourceExtractor::initSource(sources: $sources);