Skip to content

Commit

Permalink
Rename drush.script in alias records to drush-script, as it already i…
Browse files Browse the repository at this point in the history
…s in configuration.
  • Loading branch information
greg-1-anderson committed Nov 3, 2018
1 parent 107c8f7 commit 89a98c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Commands/core/StatusCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function getPropertyList($options)
if ($phpIniFiles = EditCommands::phpIniFiles()) {
$status_table['php-conf'] = $phpIniFiles;
}
$status_table['drush-script'] = $this->getConfig()->get('runtime.drush.script');
$status_table['drush-script'] = $this->getConfig()->get('runtime.drush-script');
$status_table['drush-version'] = Drush::getVersion();
$status_table['drush-temp'] = $this->getConfig()->tmp();
$status_table['drush-cache-directory'] = $this->getConfig()->cache();
Expand Down
2 changes: 1 addition & 1 deletion src/Drush.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ protected static function configureProcess(ProcessBase $process)
*/
public static function drushScript()
{
return \Drush\Drush::config()->get('runtime.drush.script', 'drush');
return \Drush\Drush::config()->get('runtime.drush-script', 'drush');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Preflight/PreflightArgs.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function applyToConfig(ConfigInterface $config)

// Store the runtime arguments and options (sans the runtime context items)
// in runtime.argv et. al.
$config->set('runtime.drush.script', $this->applicationPath());
$config->set('runtime.drush-script', $this->applicationPath());
$config->set('runtime.command', $this->commandName() ?: 'help');
$config->set('runtime.argv', $this->args());
$config->set('runtime.options', $this->getOptionNameList($this->args()));
Expand Down

0 comments on commit 89a98c5

Please sign in to comment.