Commit c3d1f179 authored by Jon Pugh's avatar Jon Pugh

Issue #2838489: Adding @TODO about fixing check for tasks when saving drushrc.php.

parent c50a0c01
......@@ -66,6 +66,7 @@ function provision_drupal_drush_exit() {
// Don't generate the drushrc.php on provision-save/delete/git-clone commands.
// Avoiding running on git-clone is needed in order to let it work with makefiles in the git repo.
// If this function runs, the platform directory is created, and drush make fails because the directory already exists.
// @TODO: Determine what tasks should save platform data and only act on those.
if (!preg_match("/^provision-(save|delete|git-clone)/", $command[0])) {
provision_save_platform_data();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment