Skip to content

Commit

Permalink
Fixes #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 0b18c07
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Robo/Commands/Drupal/DrupalCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,14 @@ function ($string) {
->assume(TRUE)
->printOutput(TRUE);

if (!$this->getConfigValue('cm.strategy') == 'features') {
$config_strategy = $this->getConfigValue('cm.strategy');

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

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

0 comments on commit 0b18c07

Please sign in to comment.