Skip to content

Commit

Permalink
Fix up drush.paths config namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Oct 5, 2017
1 parent fe44b50 commit 16781d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion includes/backend.inc
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,8 @@ function drush_backend_invoke_concurrent($invocations, $common_options = array()
// $command_options += drush_command_get_command_specific_options($site_record, $command);

// Add in preflight option contexts (--include et. al)
$preflightContextOptions = \Drush\Drush::config()->get(PreflightArgs::DRUSH_CONFIG_CONTEXT_NAMESPACE, []);
$preflightContextOptions = \Drush\Drush::config()->get(PreflightArgs::DRUSH_CONFIG_PATH_NAMESPACE, []);
$preflightContextOptions['local'] = \Drush\Drush::config()->get('runtime.local', false);
foreach ($preflightContextOptions as $key => $value) {
if ($value) {
$command_options[$key] = $value;
Expand Down
2 changes: 1 addition & 1 deletion src/Preflight/PreflightArgs.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PreflightArgs extends Config implements PreflightArgsInterface
*/
protected $args;

const DRUSH_CONFIG_PATH_NAMESPACE = 'drush';
const DRUSH_CONFIG_PATH_NAMESPACE = 'drush.paths';
const ALIAS = 'alias';
const ALIAS_PATH = 'alias-path';
const COMMAND_PATH = 'include';
Expand Down

0 comments on commit 16781d6

Please sign in to comment.