diff --git a/src/Commands/Install.php b/src/Commands/Install.php index 8217b904..76144de4 100644 --- a/src/Commands/Install.php +++ b/src/Commands/Install.php @@ -53,9 +53,10 @@ class Install extends Command file_put_contents(app_path('Http/Kernel.php'), $newKernel); $this->info('✔️ Set middleware priority'); - file_put_contents( - base_path('routes/tenant.php'), - "info('✔️ Created routes/tenant.php'); + ); + $this->info('✔️ Created routes/tenant.php'); + } else { + $this->info('Found routes/tenant.php.'); + } $this->line(''); $this->line('This package lets you store data about tenants either in Redis or in a relational database like MySQL. To store data about tenants in a relational database, you need a few database tables.');