Skip to content

Commit

Permalink
Fixes acquia#1481: allowing for combo of features and default config.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed May 8, 2017
1 parent 5516671 commit 5be8019
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Robo/Commands/Drupal/DrupalCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ function ($string) {
->assume(TRUE)
->printOutput(TRUE);

if (!$this->getConfigValue('cm.strategy') == 'features') {
$cm_core_key = $this->getConfigValue('cm.core.key');
$task->option('config-dir', $this->getConfigValue("cm.core.dirs.$cm_core_key.path"));
$cm_core_key = $this->getConfigValue('cm.core.key');
$task->option('config-dir', $this->getConfigValue("cm.core.dirs.$cm_core_key.path"));
if ($this->getConfigValue('cm.strategy') == 'features') {
$task->option('partial');
}

$result = $task->interactive()->run();
Expand Down

0 comments on commit 5be8019

Please sign in to comment.