[command] Minor fix
This commit is contained in:
parent
5573f9d451
commit
8ae2b73742
|
@ -94,7 +94,7 @@ EOT
|
|||
$this->writeSection($output, array(
|
||||
'[Propel] Error',
|
||||
'',
|
||||
'An error has occured during the "sql" task process. To get more details, run the command with the "--verbose" option.'
|
||||
'An error has occured during the "build-sql" task process. To get more details, run the command with the "--verbose" option.'
|
||||
), 'fg=white;bg=red');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ EOT
|
|||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
// Bad require but needed :(
|
||||
require $this->getContainer()->getParameter('propel.path') . '/generator/lib/util/PropelSqlManager.php';
|
||||
require_once $this->getContainer()->getParameter('propel.path') . '/generator/lib/util/PropelSqlManager.php';
|
||||
|
||||
$this->writeSection($output, '[Propel] You are running the command: propel:insert-sql');
|
||||
|
||||
|
|
Loading…
Reference in a new issue