szeidler/composer-patches-cli

Check if package is installed

Opened this issue · 0 comments

Currently there's no check if a package to be patched is actually installed.

A command like the following will run just fine, even if the package foo is not required.

composer patch-add foo "example patch" http://example.com/patch.diff