Skip to content

Commit

Permalink
[console] Fix console not installed error. (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas authored Sep 2, 2017
1 parent cce53b1 commit a165e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/drupal.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
if (!$launch) {
$message = sprintf(
$translator->trans('application.site.errors.not-installed'),
$argvInputReader->get('root')
PHP_EOL . $drupalFinder->getComposerRoot()
);
$io->error($message);

Expand All @@ -119,7 +119,7 @@
);

$io->commentBlock(
$configuration->get('application.composer.install-console')
'composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader'
);

exit(1);
Expand Down

0 comments on commit a165e0e

Please sign in to comment.