Skip to content

Commit

Permalink
Fixes #90
Browse files Browse the repository at this point in the history
  • Loading branch information
theseer committed Oct 27, 2020
1 parent 2c0a7ef commit 50e1871
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ComposerIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ private function processRequire($basedir, $require) {

$requireDir = $basedir . '/vendor/' . $require;
$jsonFile = $this->findComposerJson($requireDir);
if ($jsonFile === null) {
return;
}
$jsonData = json_decode(file_get_contents($jsonFile), true);

if (isset($jsonData['require'])) {
Expand Down

0 comments on commit 50e1871

Please sign in to comment.