Skip to content

Commit

Permalink
Updated for change in environment API.
Browse files Browse the repository at this point in the history
  • Loading branch information
joachim-n committed Aug 9, 2016
1 parent 8aaf148 commit d9a131c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/module_builder/module_builder.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ function module_builder_drush_init() {
*/
function module_builder_drush_init_helper() {
// Set up the MB factory.
\DrupalCodeBuilder\Factory::setEnvironmentClass('Drush', drush_drupal_version());
\DrupalCodeBuilder\Factory::setEnvironmentLocalClass('Drush')
->setCoreVersionNumber(drush_drupal_version());
}

/**
Expand Down

0 comments on commit d9a131c

Please sign in to comment.