Skip to content

Commit

Permalink
[debug:sites] Change invalid sites error as warning message. (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas committed Feb 12, 2018
1 parent 97b9a31 commit 63b8424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/Debug/SiteCommand.php
Expand Up @@ -70,9 +70,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
$sites = $this->configurationManager->getSites();

if (!$sites) {
$this->getIo()->error($this->trans('commands.debug.site.messages.invalid-sites'));
$this->getIo()->warning($this->trans('commands.debug.site.messages.invalid-sites'));

return 1;
return 0;
}

$target = $input->getArgument('target');
Expand Down

0 comments on commit 63b8424

Please sign in to comment.