Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Roots/Acorn/PackageManifest.php
Original file line number Diff line number Diff line change
@@ -76,9 +76,9 @@ public function build()

$ignoreAll = in_array('*', $ignore = $this->packagesToIgnore());

return collect($packages)->mapWithKeys(function ($package) use ($path) {
return collect($packages)->mapWithKeys(function ($package) use ($path, $composerPath) {
return [
$this->format($package['name'], dirname($path, 2)) =>
$this->format($package['name'] ?? basename($composerPath), dirname($path, 2)) =>
$package['extra']['acorn'] ?? $package['extra']['laravel'] ?? []
];
})->each(function ($configuration) use (&$ignore) {

0 comments on commit 968fb8e

Please sign in to comment.