From a10299c5ebb19be437db7a1b08420d3e0014fb83 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Wed, 10 May 2023 08:08:08 -0500 Subject: [PATCH] fix case issue --- .../hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java index bc72a2778..6884b15e0 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java @@ -410,7 +410,7 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple logn(" Installing: "); } - if ((npm.name() != null && id != null && !id.equals(npm.name()))) { + if ((npm.name() != null && id != null && !id.equalsIgnoreCase(npm.name()))) { if (!suppressErrors && (!id.equals("hl7.fhir.r5.core") && !id.equals("hl7.fhir.us.immds"))) {// temporary work around throw new IOException("Attempt to import a mis-identified package. Expected " + id + ", got " + npm.name()); }