From 99a266b0d6989ef616e06617e2820e9b876a3ccc Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Mon, 24 Feb 2020 16:06:28 +1100 Subject: [PATCH] fix bug with template inheritance --- .../main/java/org/hl7/fhir/utilities/cache/NpmPackage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/cache/NpmPackage.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/cache/NpmPackage.java index d58520549..e1ecfedbc 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/cache/NpmPackage.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/cache/NpmPackage.java @@ -219,9 +219,9 @@ public class NpmPackage { } loadSubFolders(res, dir.getAbsolutePath(), f); } else { - NpmPackageFolder folder = res.new NpmPackageFolder("package/$root"); + NpmPackageFolder folder = res.new NpmPackageFolder(Utilities.path("package", "$root")); folder.folder = dir; - res.folders.put("package/$root", folder); + res.folders.put(Utilities.path("package", "$root"), folder); } } }