You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me solution in Satis was to remove if (null === $this->composer) { in Application::getComposerWithConfig() , called only in BuildCommand. Than $composer is recreated with config from .json "config" key, mentioned in docs here: https://composer.github.io/satis/using
The text was updated successfully, but these errors were encountered:
Hello,
BuildCommand uses this method to get $composer with config:
satis/src/Console/Application.php
Line 77 in 7735ad2
Unfortunately BaseCommand already creates $application->composer in BaseCommand::initialize() :
https://github.com/composer/composer/blob/11e5237ad9d9e8f29bdc57d946f87c816320d863/src/Composer/Command/BaseCommand.php#L240
For me solution in Satis was to remove
if (null === $this->composer) {
in Application::getComposerWithConfig() , called only in BuildCommand. Than $composer is recreated with config from .json "config" key, mentioned in docs here: https://composer.github.io/satis/usingThe text was updated successfully, but these errors were encountered: