mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Merge remote-tracking branch 'curry684/home-expansion'
This commit is contained in:
commit
d8c94c2640
6 changed files with 60 additions and 11 deletions
|
@ -18,6 +18,7 @@ use Composer\Json\JsonFile;
|
|||
use Composer\Package\Loader\ArrayLoader;
|
||||
use Composer\Package\Version\VersionGuesser;
|
||||
use Composer\Package\Version\VersionParser;
|
||||
use Composer\Util\Platform;
|
||||
use Composer\Util\ProcessExecutor;
|
||||
|
||||
/**
|
||||
|
@ -101,7 +102,7 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
|
|||
}
|
||||
|
||||
$this->loader = new ArrayLoader(null, true);
|
||||
$this->url = $repoConfig['url'];
|
||||
$this->url = Platform::expandPath($repoConfig['url']);
|
||||
$this->process = new ProcessExecutor($io);
|
||||
$this->versionGuesser = new VersionGuesser($config, $this->process, new VersionParser());
|
||||
$this->repoConfig = $repoConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue