Skip to content

Commit 9c3dbf6

Browse files
committed
fix: config require
refs: #117
1 parent 14ed77d commit 9c3dbf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EntityGeneratorServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ class EntityGeneratorServiceProvider extends ServiceProvider
99
{
1010
public function boot()
1111
{
12-
$this->mergeConfigFrom(getcwd() . '/config/entity-generator.php', 'entity-generator');
12+
$this->mergeConfigFrom(__DIR__ . '/../config/entity-generator.php', 'entity-generator');
1313

1414
$this->commands([
15-
MakeEntityCommand::class
15+
MakeEntityCommand::class,
1616
]);
1717

1818
$this->publishes([

0 commit comments

Comments
 (0)