Skip to content

Commit

Permalink
Support updated composer installed.json ...
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Jun 10, 2020
1 parent 6cb077c commit 80df7dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Extend/Manifest.php
Expand Up @@ -18,7 +18,8 @@ public function build()
$packages = [];

if ($this->files->exists($path = $this->vendorPath.'/composer/installed.json')) {
$packages = json_decode($this->files->get($path), true);
$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;
}

$this->write(collect($packages)->filter(function ($package) {
Expand Down

0 comments on commit 80df7dd

Please sign in to comment.