Skip to content

Commit

Permalink
Merge pull request #112 from o15a3d4l11s2/patch-1
Browse files Browse the repository at this point in the history
Update BassetInstall to use provided PHP process
  • Loading branch information
pxpm authored Feb 22, 2024
2 parents 9ecbeaf + a241a37 commit 4fc2f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/BassetInstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private function addComposerCommand(): void

if ($this->components->confirm('You will need to run `php artisan storage:link` on every server you deploy the app to. Do you wish to add that command to composer.json\' post-install-script, to make that automatic?', true)) {
$this->components->task($message, function () {
$process = new Process(['composer', 'config', 'scripts.post-install-cmd.-1', 'php artisan storage:link --quiet']);
$process = new Process(['composer', 'config', 'scripts.post-install-cmd.-1', '@php artisan storage:link --quiet']);
$process->run();
});
}
Expand Down

0 comments on commit 4fc2f6c

Please sign in to comment.