[2.0.0-beta2] patching fails with composer --no-cache
#608
Labels
bug
Inconsistencies or issues which will cause a problem for users or implementors.
Verification
composer self-update
)composer update cweagans/composer-patches
)What were you trying to do (and why)?
Build a frankenphp-based image. It calls
composer install --no-cache ...
What happened? What did you expect to happen?
Problem is in Downloader.php, I guess the cache-dir from the composer config is null:
So I guess either the cache-dir should be set to something temporary, or it should throw an error that it doesn't work with --no-cache, or caching should be disabled on --no-cache (don't know if this is possible).
Full contents of
composer.json
Full contents of
patches.lock.json
Full output of
composer patches-doctor
Full output of relevant Composer command with the
-vvv
flag addedThe text was updated successfully, but these errors were encountered: