mirror of
https://github.com/danog/laravel-madeline-proto.git
synced 2024-11-29 20:18:59 +01:00
Fixing invalid file checker for existing TelegramSession model
This commit is contained in:
parent
0b2840f819
commit
84c85b8853
@ -43,7 +43,7 @@ class MultiSessionCommand extends Command
|
||||
if ($this->option('model')) {
|
||||
$user = $this->ask('Telegram user model (for relation)', 'App/User');
|
||||
|
||||
if (file_exists(app_path()) && !$this->option('force')) {
|
||||
if (file_exists(app_path("TelegramSession.php")) && !$this->option('force')) {
|
||||
if (!$this->confirm("The App/TelegramSession model is already exist. Replace it?")) {
|
||||
$this->info('Multi session export aborted.');
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user