mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
Fix output of ExtractCommand
This commit is contained in:
parent
460238a6b0
commit
7a1433a994
@ -25,7 +25,7 @@ class ExtractCommand extends BaseCommand
|
|||||||
{
|
{
|
||||||
$sources = array_map('trim', array_filter(explode(',', $this->getArgument('sources'))));
|
$sources = array_map('trim', array_filter(explode(',', $this->getArgument('sources'))));
|
||||||
if (empty($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;
|
return 1;
|
||||||
}
|
}
|
||||||
SourceExtractor::initSource(sources: $sources);
|
SourceExtractor::initSource(sources: $sources);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user