mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 09:29:13 +00:00
fix bug loading packages
This commit is contained in:
parent
70c75fde62
commit
d7788c7945
@ -576,6 +576,9 @@ public class NpmPackage {
|
|||||||
|
|
||||||
public boolean hasFile(String folder, String file) throws IOException {
|
public boolean hasFile(String folder, String file) throws IOException {
|
||||||
NpmPackageFolder f = folders.get(folder);
|
NpmPackageFolder f = folders.get(folder);
|
||||||
|
if (f == null) {
|
||||||
|
f = folders.get(Utilities.path("package", folder));
|
||||||
|
}
|
||||||
return f != null && f.hasFile(file);
|
return f != null && f.hasFile(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user