From 8d711d6527aac395d2f08f16366fb307b9b0563f Mon Sep 17 00:00:00 2001 From: Scott Reese Date: Mon, 31 Jul 2023 14:27:09 -0500 Subject: [PATCH] Fix Null Path error on composer install. https://github.com/drupal-composer/preserve-paths/issues/43. --- src/PluginWrapper.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PluginWrapper.php b/src/PluginWrapper.php index c2a2cbc..21c14d5 100644 --- a/src/PluginWrapper.php +++ b/src/PluginWrapper.php @@ -187,6 +187,9 @@ protected function absolutePaths($paths) { $return = array(); foreach ($paths as $path) { + if (empty($path)) { + continue; + } if (!$this->filesystem->isAbsolutePath($path)) { $path = getcwd().'/'.$path; }