Skip to content

Commit

Permalink
Packages weren't loaded before removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
franzliedke committed Feb 22, 2015
1 parent 3d98a12 commit 937370d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public function hasPackages()

public function removePackage(Package $package)
{
// Ensure our packages are loaded
$this->getPackages();

$key = $package->getComposerId();

if (isset($this->packages[$key])) {
Expand Down

0 comments on commit 937370d

Please sign in to comment.