Skip to content

Commit

Permalink
#278 fix test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
casid committed Sep 30, 2023
1 parent 9edd8c9 commit d940f92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jte/src/main/java/gg/jte/compiler/TemplateCompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ private Module readModuleInformation(String alias, CodeResolver codeResolver) {
Map<String, Module> children = new LinkedHashMap<>();

for ( ModuleImport moduleImport : moduleInfo.imports() ) {
DirectoryCodeResolver moduleDirectoryResolver = new DirectoryCodeResolver(directoryCodeResolver.getRoot().resolve(moduleImport.from()));
Path modulePath = directoryCodeResolver.getRoot().resolve(moduleImport.from()).normalize();
DirectoryCodeResolver moduleDirectoryResolver = new DirectoryCodeResolver(modulePath);
children.put(moduleImport.alias(), readModuleInformation(moduleImport.alias(), moduleDirectoryResolver));
}

Expand Down

0 comments on commit d940f92

Please sign in to comment.