Skip to content

Commit

Permalink
Fix initCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jun 19, 2016
1 parent 42fa3f0 commit 6001d85
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Command/InitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ public function execute()
{
$this->mkpath('db/config');
$this->mkpath('db/migration');

$command = new InitConfCommand();
$command->application = $this->application;
$command = $this->createCommand('LazyRecord\\Command\\InitConfCommand');
$command->execute();

$command = new BuildConfCommand();
$command->application = $this->application;
$command = $this->createCommand('LazyRecord\\Command\\BuildConfCommand');
$command->execute('db/config/database.yml');
}
}

0 comments on commit 6001d85

Please sign in to comment.