From 3c4440d43058d6baf22ba78680b0b11af4a2642a Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Thu, 17 Mar 2022 21:43:25 +1100 Subject: [PATCH] fix core package test --- .../src/main/java/org/hl7/fhir/utilities/npm/NpmPackage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/NpmPackage.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/NpmPackage.java index 2569c2901..9cbeb5aac 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/NpmPackage.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/NpmPackage.java @@ -1086,7 +1086,7 @@ public class NpmPackage { } public boolean isCore() { - return "fhir.core".equals(JSONUtil.str(npm, "type")); + return Utilities.existsInList(JSONUtil.str(npm, "type"), "fhir.core", "Core"); } public boolean hasCanonical(String url) {