Closed mglaman closed 7 years ago
Eh. I guess that doesn't fix it, just errors right away.
TIL: https://getcomposer.org/doc/06-config.md#discard-changes
Will keep PR open to see thoughts about -n
, possibly adding -o
as well
Eek, the actual error from OP:
[RuntimeException] Source directory web/modules/contrib/commerce_square has uncommitted changes.
Sometimes I love GitHub code blocks, other times not :)
Yeah error was using patches.
My solution was to add discard-changes: true
to composer.json; forgot to come back and close this.
Referred to http://docs.ansible.com/ansible/latest/composer_module.html, didn't see an "option" key for specifying
-n
.Had this failure due to a project being patched