Skip to content

Commit

Permalink
Merge pull request #32 from skyrpex/skyrpex-patch-1
Browse files Browse the repository at this point in the history
fix: pass the stubs path to the MigrationCreator
  • Loading branch information
JayBizzle committed Mar 30, 2020
2 parents b860aa5 + 720087f commit 91373b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MigrationsOrganiserServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function register()
protected function registerCreator()
{
$this->app->singleton('migration.creator', function ($app) {
return new MigrationCreator($app['files']);
return new MigrationCreator($app['files'], $app->path('stubs'));
});
}

Expand Down

0 comments on commit 91373b3

Please sign in to comment.