1
0
Fork 0

Fix for when the version is explicitely set in the composer.json file

pull/648/head
Fabien Potencier 2012-05-01 13:10:14 +02:00
parent f7440076fa
commit 0923025455
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ class RootPackageLoader extends ArrayLoader
} }
$config['version'] = $version; $config['version'] = $version;
} else {
$version = $config['version'];
} }
$package = parent::load($config); $package = parent::load($config);