Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit c8c5f04

Browse files
danepowellgrasmash
authored andcommitted
Don't clobber drush.uri parameter (#1656)
1 parent fdf25b5 commit c8c5f04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Robo/Config/DefaultConfig.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ public function populateHelperConfig() {
9090
*/
9191
public function setSiteConfig($site_name) {
9292
$this->config->set('site', $site_name);
93-
$this->config->set('drush.uri', $site_name);
93+
if (!$this->config->get('drush.uri')) {
94+
$this->config->set('drush.uri', $site_name);
95+
}
9496

9597
// After having set site, this should now return the multisite
9698
// specific config.

0 commit comments

Comments
 (0)