1
0
Fork 0

Set dist reference for root package as well, fixes #4828

pull/4946/merge
Jordi Boggiano 2016-02-25 14:03:12 +00:00
parent 5b65221523
commit 4f55386a81
1 changed files with 6 additions and 1 deletions

View File

@ -84,12 +84,17 @@ class RootPackageLoader extends ArrayLoader
}
$config['version'] = $version;
if($commit){
if ($commit) {
$config['source'] = array(
'type' => '',
'url' => '',
'reference' => $commit
);
$config['dist'] = array(
'type' => '',
'url' => '',
'reference' => $commit
);
}
}