Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Put back prepareForPantheon() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Jan 1, 2017
1 parent beca62b commit ef0fb54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/composer/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,12 @@ public static function createRequiredFiles(Event $event) {
}
}

public static function prepareForPantheon()
{
$gitignoreFile = getcwd() . '/.gitignore';
$gitignoreContents = file_get_contents($gitignoreFile);
$gitignoreContents = preg_replace('/.*::: cut :::*/s', '', $gitignoreContents);
file_put_contents($gitignoreFile, $gitignoreContents);
}

}

1 comment on commit ef0fb54

@pantheon-upstream
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created multidev environment ci-example-d8-composer#ci-202.

Visit Site

Please sign in to comment.