fix loading bug

This commit is contained in:
Grahame Grieve 2020-08-18 17:59:30 +10:00
parent 1cd01513c2
commit 67c9904aa8
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ public class SimpleWorkerContext extends BaseWorkerContext implements IWorkerCon
if (types.length == 0) {
types = new String[] { "StructureDefinition", "ValueSet", "SearchParameter", "OperationDefinition", "Questionnaire", "ConceptMap", "StructureMap", "NamingSystem" };
}
for (String s : pi.listResources(loader.getTypes())) {
for (String s : pi.listResources(types)) {
try {
loadDefinitionItem(s, pi.load("package", s), loader, null, new PackageVersion(pi.id(), pi.version()));
t++;