Skip to content

Commit

Permalink
Update policy.drush.inc (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored and grasmash committed Apr 3, 2017
1 parent 6248426 commit 8281756
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drush/policy.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
function policy_drush_sitealias_alter(&$alias_record) {
// Set Drush version correctly on Acquia Cloud.
if (!empty($alias_record['uri'])
&& !empty($alias_record['remote-host'])
&& strstr($alias_record['remote-host'], 'acquia') !== FALSE
&& !empty($alias_record['path-aliases']['%drush-script'])
&& $alias_record['path-aliases']['%drush-script'] == 'drush9') {
Expand Down

0 comments on commit 8281756

Please sign in to comment.