Skip to content

Commit

Permalink
Normalize getDomainBasePath() too.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspertey committed Mar 11, 2024
1 parent 6786d5c commit 9fe6999
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Commands/DomainGeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ protected function getDomain()

protected function getDomainBasePath()
{
return $this->laravel->basePath(config('ddd.paths.domains', 'src/Domains'));
return str($this->laravel->basePath(config('ddd.paths.domains', 'src/Domains')))
->replace(['/', '\\'], DIRECTORY_SEPARATOR)
->toString();
}

protected function getPath($name)
Expand Down

0 comments on commit 9fe6999

Please sign in to comment.