Skip to content

Commit

Permalink
Fix Null Path error on composer install. drupal-composer#43. (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottreese authored Jul 31, 2023
1 parent 91fab42 commit 8d9202b
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 8d9202b

Please sign in to comment.