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 043161698..5c50fc9eb 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 @@ -559,8 +559,10 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple public String getPackageId(String canonicalUrl) throws IOException { String retVal = findCanonicalInLocalCache(canonicalUrl); - retVal = super.getPackageId(canonicalUrl); - + if(retVal == null) { + retVal = super.getPackageId(canonicalUrl); + } + if (retVal == null) { retVal = getPackageIdFromBuildList(canonicalUrl); } @@ -930,4 +932,4 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple return false; } -} \ No newline at end of file +}