Skip to content

Commit f106694

Browse files
committed
resolves #1
1 parent 0766ef2 commit f106694

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Providers/ConsoleServiceProvider.php

+4
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ private function listenToCommandEvents(): void
110110
Event::listen(
111111
CommandStarting::class,
112112
function (CommandStarting $command) {
113+
if (!$command->command) {
114+
return;
115+
}
116+
113117
Console::setCommandForValidation(
114118
Artisan::all()[$command->command]->getName()
115119
);

0 commit comments

Comments
 (0)