Skip to content

Commit

Permalink
#4: Don't error on unreadable directories (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriokha authored and jmolivas committed May 2, 2017
1 parent aa3a2a8 commit f616513
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ExtenderManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ public function processProjectPackages($directory)
$finder->files()
->name('composer.json')
->contains('drupal-console-library')
->in($directory);
->in($directory)
->ignoreUnreadableDirs();

foreach ($finder as $file) {
$this->processComposerFile($file->getPathName());
Expand Down

0 comments on commit f616513

Please sign in to comment.