Skip to content

Commit

Permalink
Normalize paths for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperTey committed Nov 17, 2024
1 parent 062ba94 commit 1606c2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Support/AutoloadManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ public function getAllLayerPaths(): array
DomainResolver::domainPath(),
DomainResolver::applicationLayerPath(),
...array_values(config('ddd.layers', [])),
])->map(fn ($path) => $this->app->basePath($path))->toArray();
])->map(fn ($path) => Path::normalize($this->app->basePath($path)))->toArray();
}

protected function getCustomLayerPaths(): array
{
return collect([
...array_values(config('ddd.layers', [])),
])->map(fn ($path) => $this->app->basePath($path))->toArray();
])->map(fn ($path) => Path::normalize($this->app->basePath($path)))->toArray();
}

protected function handleProviders()
Expand Down

0 comments on commit 1606c2b

Please sign in to comment.