Skip to content

Commit

Permalink
Always register command (#8)
Browse files Browse the repository at this point in the history
* Always register command

* Update CHANGELOG.md
  • Loading branch information
erjanmx authored Sep 28, 2018
1 parent 5cbd0ff commit f4cb3a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `laravel-migrate-check` will be documented in this file

## 1.2.1 - 2018-09-28

- Always register command (not only in console mode)

## 1.2.0 - 2018-07-12

- Add repository existence check
Expand Down
8 changes: 3 additions & 5 deletions src/MigrateCheckServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ class MigrateCheckServiceProvider extends ServiceProvider
*/
public function boot()
{
if ($this->app->runningInConsole()) {
$this->commands([
MigrateCheckCommand::class,
]);
}
$this->commands([
MigrateCheckCommand::class,
]);
}
}

0 comments on commit f4cb3a9

Please sign in to comment.