Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.x] Fix composer memory limit crashes #412

Merged
merged 2 commits into from
Oct 29, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Rename package to packages
  • Loading branch information
claudiodekker committed Oct 29, 2020
commit 2274716a04ce9b1f6371ae7f7ced998c775ac9c0
6 changes: 3 additions & 3 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,14 +438,14 @@ protected function installJetstreamServiceProvider()
/**
* Installs the given Composer Packages into the application.
*
* @param mixed $package
* @param mixed $packages
* @return void
*/
protected function requireComposerPackages($package)
protected function requireComposerPackages($packages)
{
$command = array_merge(
['composer', 'require'],
is_array($package) ? $package : func_get_args()
is_array($packages) ? $packages : func_get_args()
);

(new Process($command, base_path(), ['COMPOSER_MEMORY_LIMIT' => '-1']))
Expand Down