Fix behaviour of DependencyCustomizer ifAllResourcesPresent

Previously, DependencyCustomizer's ifAllResourcesPresent method
would return a customizer that added modules if any of the resources
were present. This commit corrects this behaviours so that modules are
only added if all resources are present.

Fixes gh-20418
This commit is contained in:
Andy Wilkinson
2020-03-11 13:00:49 +00:00
parent 2b2113714d
commit f251772e17
4 changed files with 44 additions and 3 deletions