From 173dde446d161aa2beb5b1cafccfd14f2a8bbed4 Mon Sep 17 00:00:00 2001 From: Andy Footner Date: Thu, 25 May 2023 09:55:23 -0300 Subject: [PATCH] Handle null paths #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; }