mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Fix alias handling with --dev installs, fixes #579
This commit is contained in:
parent
7b87d2b573
commit
f63df842b3
3 changed files with 27 additions and 10 deletions
|
@ -21,6 +21,7 @@ use Composer\Package\Dumper\ArrayDumper;
|
|||
* Filesystem repository.
|
||||
*
|
||||
* @author Konstantin Kudryashov <ever.zet@gmail.com>
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
*/
|
||||
class FilesystemRepository extends ArrayRepository implements WritableRepositoryInterface
|
||||
{
|
||||
|
@ -71,6 +72,12 @@ class FilesystemRepository extends ArrayRepository implements WritableRepository
|
|||
}
|
||||
}
|
||||
|
||||
public function reload()
|
||||
{
|
||||
$this->packages = null;
|
||||
$this->initialize();
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes writable repository.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue