Skip to content

Commit

Permalink
Don't clobber drush.uri parameter (#1656)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored and grasmash committed Jun 13, 2017
1 parent fdf25b5 commit c8c5f04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Robo/Config/DefaultConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ public function populateHelperConfig() {
*/
public function setSiteConfig($site_name) {
$this->config->set('site', $site_name);
$this->config->set('drush.uri', $site_name);
if (!$this->config->get('drush.uri')) {
$this->config->set('drush.uri', $site_name);
}

// After having set site, this should now return the multisite
// specific config.
Expand Down

0 comments on commit c8c5f04

Please sign in to comment.