Fix to load the auth information before the root package gets installed.
parent
7131607ad1
commit
493ebbaacb
|
@ -133,6 +133,9 @@ EOT
|
||||||
{
|
{
|
||||||
$oldCwd = getcwd();
|
$oldCwd = getcwd();
|
||||||
|
|
||||||
|
// we need to manually load the configuration to pass the auth credentials to the io interface!
|
||||||
|
$io->loadConfiguration($config);
|
||||||
|
|
||||||
if ($packageName !== null) {
|
if ($packageName !== null) {
|
||||||
$installedFromVcs = $this->installRootPackage($io, $config, $packageName, $directory, $packageVersion, $stability, $preferSource, $preferDist, $installDevPackages, $repositoryUrl, $disablePlugins, $noScripts, $keepVcs, $noProgress);
|
$installedFromVcs = $this->installRootPackage($io, $config, $packageName, $directory, $packageVersion, $stability, $preferSource, $preferDist, $installDevPackages, $repositoryUrl, $disablePlugins, $noScripts, $keepVcs, $noProgress);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue