Store this.name in a variable
Store this.name in a variable

The scope of "this" changes in the function defined in Drupal.loadDatabaseConnection(), so this.name is undefined and the pre- and post-install tasks are never added to the task list.

phase2/grunt-drupal-tasks,phase2/grunt-drupal-tasks,phase2/grunt-drupal-tasks