From f616513ac884fc5f7268ed8b82e8b23ca9f59dcc Mon Sep 17 00:00:00 2001 From: andriokha Date: Tue, 2 May 2017 06:38:30 +0100 Subject: [PATCH] #4: Don't error on unreadable directories (#5) --- src/ExtenderManager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ExtenderManager.php b/src/ExtenderManager.php index 928cfe4..9792a75 100644 --- a/src/ExtenderManager.php +++ b/src/ExtenderManager.php @@ -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());