Skip to content

Commit

Permalink
resolve install command issue
Browse files Browse the repository at this point in the history
  • Loading branch information
deeepak-panwar committed Apr 2, 2021
1 parent 0a60102 commit 04894d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Commands/InstallCommand.php
Expand Up @@ -28,7 +28,7 @@ class InstallCommand extends Command
*
* @var string
*/
protected $description = 'Install the Addchat package';
protected $description = 'Install the Addchat Laravel Lite package';

protected function getOptions()
{
Expand Down Expand Up @@ -78,7 +78,7 @@ public function handle(Filesystem $filesystem)
// ---- Check if everything good so far ----
$this->info('---- Dumping the autoloaded files and reloading all new files ----');
$composer = $this->findComposer();
$process = new Process($composer.' dump-autoload');
$process = new Process([$composer.' dump-autoload']);
// Setting timeout to null to prevent installation from stopping at a certain point in time
$process->setTimeout(null);
$process->setWorkingDirectory(base_path())->run();
Expand All @@ -102,6 +102,6 @@ public function handle(Filesystem $filesystem)
$this->call('storage:link');

// Finish
$this->info('Congrats!!! Addchat installed successfully! Wish you all the best :)');
$this->info('Congrats! Addchat Laravel Lite installed successfully. Good Luck :)');
}
}

0 comments on commit 04894d4

Please sign in to comment.