Skip to content

Commit

Permalink
fix(InstallCommand), add version check for the parameter used when ge…
Browse files Browse the repository at this point in the history
…nerating a new Process()
  • Loading branch information
andrescera committed Mar 4, 2020
1 parent f5485e7 commit a2ca0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function handle()

$this->line('Dumping the autoloaded files and reloading all new files.. 🍪');
$composer = $this->findComposer();
$process =new Process(app()::VERSION[0]>6 ? [$composer.' dump-autoload'] : $composer.' dump-autoload') ;
$process = new Process(app()::VERSION[0]>6 ? [$composer.' dump-autoload'] : $composer.' dump-autoload') ;
$process->setTimeout(null);
$process->setWorkingDirectory(base_path())->run();

Expand Down

0 comments on commit a2ca0f4

Please sign in to comment.