Skip to content

Commit

Permalink
[site:install] Load commands after site installation. (#3776)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas authored Feb 9, 2018
1 parent 2e7e1b3 commit 5306d69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Command/Site/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
);
$container = $drupal->boot();
$this->getApplication()->setContainer($container);
$this->getApplication()->validateCommands();
$this->getApplication()->loadCommands();
} catch (Exception $e) {
$this->getIo()->error($e->getMessage());
return 1;
Expand Down

0 comments on commit 5306d69

Please sign in to comment.