Browse Source

Merge pull request #50 from dlin-me/master

Fixed a bug in the builtin ChangeBranchTask.php
1.0
Andrés Montañez 11 years ago
parent
commit
08b285e962
  1. 3
      Mage/Task/BuiltIn/Scm/ChangeBranchTask.php

3
Mage/Task/BuiltIn/Scm/ChangeBranchTask.php

@ -63,8 +63,7 @@ class ChangeBranchTask extends AbstractTask
*/
public function run()
{
$scmConfig = $this->getConfig()->general('scm', array());
switch ((isset($scmConfig['type']) ? $scmConfig['type'] : false)) {
switch ($this->getConfig()->general('scm')) {
case 'git':
if ($this->getParameter('_changeBranchRevert', false)) {
$command = 'git checkout ' . self::$startingBranch;

Loading…
Cancel
Save