Skip to content

Commit

Permalink
[init] Fix destination options. (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas committed Dec 12, 2016
1 parent bfe5807 commit 3aacce4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Command/InitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,9 @@ protected function interact(InputInterface $input, OutputInterface $output)

if (!$destination) {
if ($this->appRoot && $this->consoleRoot) {
$destinationList[] = $this->configurationManager
->getConsoleDirectory();
$destinationList[] = $this->consoleRoot . '/console/';
$destination = $io->choice(
$this->trans('commands.init.questions.destination'),
$destinationList
$this->configurationManager->getConfigurationDirectories()
);
}
else {
Expand Down

0 comments on commit 3aacce4

Please sign in to comment.