Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Dec 27, 2023
1 parent cb66269 commit 2b1e499
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Presets/Preset.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function factoryPath(): string
{
return join_paths(
$this->basePath(),
$this->config('factory.path', 'database/factories')
$this->config('factory.path', join_paths('database', 'factories'))
);
}

Expand All @@ -87,7 +87,7 @@ public function migrationPath(): string
{
return join_paths(
$this->basePath(),
$this->config('migration.path', 'database/migrations')
$this->config('migration.path', join_paths('database', 'migrations'))
);
}

Expand All @@ -98,7 +98,7 @@ public function seederPath(): string
{
return join_paths(
$this->basePath(),
$this->config('seeder.path', 'database/seeders')
$this->config('seeder.path', join_paths('database', 'seeders'))
);
}

Expand Down

0 comments on commit 2b1e499

Please sign in to comment.