Skip to content

Commit

Permalink
[dotenv:init] Fix templates path when Drupal not installed. (#3836)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas committed Mar 21, 2018
1 parent 4d0decf commit e6bf8a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Bootstrap/Drupal.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@ public function boot()
$container = $this->bootDrupalConsoleCore();
$container->set('class_loader', $this->autoload);

$container->get('console.renderer')
->setSkeletonDirs(
[
$this->drupalFinder->getComposerRoot().DRUPAL_CONSOLE.'/templates/',
$this->drupalFinder->getComposerRoot().DRUPAL_CONSOLE_CORE.'/templates/'
]
);

$notifyErrorCodes = [
0,
1045,
Expand Down

0 comments on commit e6bf8a2

Please sign in to comment.