WIP cherry-pick fix for NPE in IGLoader
This commit is contained in:
parent
02c48f7ba6
commit
ee3024c1b7
|
@ -497,11 +497,13 @@ public class IgLoader implements IValidationEngineLoader {
|
|||
private Map<String, ByteProvider> fetchByPackage(String src, boolean loadInContext) throws FHIRException, IOException {
|
||||
NpmPackage pi;
|
||||
|
||||
if (directProvider != null) {
|
||||
InputStream stream = directProvider.fetchByPackage(src);
|
||||
if (stream != null) {
|
||||
pi = NpmPackage.fromPackage(stream);
|
||||
return loadPackage(pi, loadInContext);
|
||||
}
|
||||
}
|
||||
String id = src;
|
||||
String version = null;
|
||||
if (src.contains("#")) {
|
||||
|
|
Loading…
Reference in New Issue