fix case issue

This commit is contained in:
Grahame Grieve 2023-05-10 08:08:08 -05:00
parent 576be235d7
commit a10299c5eb
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple
logn(" Installing: "); 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 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()); throw new IOException("Attempt to import a mis-identified package. Expected " + id + ", got " + npm.name());
} }