Skip to content

Commit

Permalink
Drupal 7: drushrc.php coding standards, fixes ddev#2849 (ddev#2850)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbomb007 authored Mar 4, 2021
1 parent 6df6876 commit 41e955b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkg/ddevapp/drupal.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,14 @@ func WriteDrushrc(app *DdevApp, filePath string) error {

uri := app.GetPrimaryURL()
drushContents := []byte(`<?php
/** ` + DdevFileSignature + `: Automatically generated drushrc.php file (for Drush 8)
ddev manages this file and may delete or overwrite the file unless this comment is removed.
Remove this comment if you don't want ddev to manage this file.'
/**
* @file
* ` + DdevFileSignature + `: Automatically generated drushrc.php file (for Drush 8)
* ddev manages this file and may delete or overwrite the file unless this comment is removed.
* Remove this comment if you don't want ddev to manage this file.
*/
if (getenv('IS_DDEV_PROJECT') == 'true') {
$options['l'] = "` + uri + `";
}
Expand Down

0 comments on commit 41e955b

Please sign in to comment.