new deployer command

This commit is contained in:
Mark Gregory
2026-09-16 11:33:44 +01:00
parent 8105d1cb6a
commit 66e38cfe52
11 changed files with 7 additions and 22 deletions
@@ -16,6 +16,5 @@ class OTMDatabaseSeeder extends Seeder
{
Model::unguard();
// $this->call("OthersTableSeeder");
}
}
+1 -3
View File
@@ -79,9 +79,7 @@ class OTMServiceProvider extends ServiceProvider
$commandPath = __DIR__ . '/../Console';
$commands = collect(File::allFiles($commandPath))
->map(function ($file) {
$class = 'Modules\\' . $this->moduleName . '\\Console\\' . $file->getFilenameWithoutExtension();
return $class;
return 'Modules\\' . $this->moduleName . '\\Console\\' . $file->getFilenameWithoutExtension();
})
->filter(function ($class) {
return class_exists($class);