Skip to content

Commit

Permalink
[console] Pass site:install as removableBy argument. (#3624)
Browse files Browse the repository at this point in the history
* [console] Pass isRemovable flag as true.

* [console] Remove error messages with code 0.

* [console] Remove call to message_manager service.

* [console] Pass site:install command name as removableBy argument.

* [console] Remove blank line.
  • Loading branch information
jmolivas authored Dec 8, 2017
1 parent 3a4f666 commit 81c1371
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Bootstrap/Drupal.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,12 @@ public function boot()
];

if (in_array($e->getCode(), $notifyErrorCodes)) {
/** @var \Drupal\Console\Core\Utils\MessageManager $messageManager */
$messageManager = $container->get('console.message_manager');
$messageManager->error(
$e->getMessage(),
$e->getCode()
$e->getCode(),
'site:install'
);
}

Expand Down

0 comments on commit 81c1371

Please sign in to comment.