[Command] Fixed error output in fixtures:load command

This commit is contained in:
William DURAND 2011-09-07 10:52:01 +02:00
parent fa1b06765e
commit d1c64b2ae5

View file

@ -124,7 +124,9 @@ EOT
}
if (!$this->absoluteFixturesPath && !file_exists($this->absoluteFixturesPath)) {
return $output->writeln('<info>The fixtures directory does not exist.</info>');
return $this->writeSection($output, array(
'The fixtures directory does not exist.'
), 'fg=white;bg=red');
}
$noOptions = (!$input->getOption('xml') && !$input->getOption('sql') && !$input->getOption('yml'));