Skip to content

Commit 8d42820

Browse files
committed
Always publish commands, makes it compatible with recca0120/terminal
1 parent ce23f37 commit 8d42820

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/ServiceProvider.php

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,16 @@ public function register()
2222
*/
2323
public function boot()
2424
{
25-
AboutCommand::add('devdot/log-user', fn () => [
25+
AboutCommand::add('devdot/log-artisan', fn () => [
2626
'available' => true,
2727
]);
2828

2929
// install all our commands
30-
if($this->app->runningInConsole()) {
31-
$this->commands([
32-
Commands\AboutLog::class,
33-
Commands\ClearLog::class,
34-
Commands\ShowLog::class,
35-
Commands\SearchLog::class,
36-
]);
37-
}
30+
$this->commands([
31+
Commands\AboutLog::class,
32+
Commands\ClearLog::class,
33+
Commands\ShowLog::class,
34+
Commands\SearchLog::class,
35+
]);
3836
}
3937
}

0 commit comments

Comments
 (0)