Skip to content

Commit

Permalink
Handle null paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lazysoundsystem authored May 25, 2023
1 parent 91fab42 commit 173dde4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/PluginWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 173dde4

Please sign in to comment.