mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-09 06:14:45 +00:00
Fix cibuild url lookup issue
This commit is contained in:
parent
3f10fc3430
commit
af850879fd
@ -614,7 +614,13 @@ public class PackageCacheManager {
|
||||
if (buildInfo != null) {
|
||||
for (JsonElement n : buildInfo) {
|
||||
JsonObject o = (JsonObject) n;
|
||||
if (canonical.equals(JSONUtil.str(o, "url")) || JSONUtil.str(o, "url").startsWith(canonical+"/ImplementationGuide/")) {
|
||||
if (canonical.equals(JSONUtil.str(o, "url"))) {
|
||||
return JSONUtil.str(o, "package-id");
|
||||
}
|
||||
}
|
||||
for (JsonElement n : buildInfo) {
|
||||
JsonObject o = (JsonObject) n;
|
||||
if (JSONUtil.str(o, "url").startsWith(canonical+"/ImplementationGuide/")) {
|
||||
return JSONUtil.str(o, "package-id");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user