Actually read TargetMatchers from world configs.

Previously only read from global.
This commit is contained in:
wizjany 2020-06-01 15:52:16 -04:00 committed by GitHub
parent 9905d22ddf
commit 868089b44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,6 +105,13 @@ private TargetMatcherSet getTargetMatchers(String node) {
if (inputs == null || inputs.isEmpty()) {
parentConfig.setProperty(node, new ArrayList<String>());
}
if (config.getProperty(node) != null) {
inputs = config.getStringList(node, null);
}
if (inputs == null || inputs.isEmpty()) {
return set;
}