diff --git a/src/Console/Kernel.php b/src/Console/Kernel.php index 5f47a21160e153515fe0b7852c707a17eca6d061..33ff4bc077172b68ecf20eb3f258d0a6c7087fd9 100644 --- a/src/Console/Kernel.php +++ b/src/Console/Kernel.php @@ -206,7 +206,7 @@ EOF; if (empty($consolePath)) continue; $commands = Finder::create()->in($consolePath)->files(); foreach ($commands as $command) { - $command = 'Plugin\\' . str_replace(['/', '.php'], ['\\', ''], Str::after($command->getPathname(), base_path('plugin'))); + $command = "Plugin" . str_replace(['/', '.php'], ['\\', ''], Str::after($command->getPathname(), base_path('plugin'))); $this->doCommand($console, $command); } }