Merge pull request #208 from hapifhir/comparison_test_fix_github_is_dumb

Comparison test fix
This commit is contained in:
Grahame Grieve 2020-06-02 07:24:52 +10:00 committed by GitHub
commit 71beac4d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 28 deletions

View File

@ -863,6 +863,9 @@ public class HierarchicalTableGenerator extends TranslatingUtilities {
b.append(".png");
String file = Utilities.path(dest, b.toString());
if (!new File(file).exists()) {
File newFile = new File(file);
newFile.getParentFile().mkdirs();
newFile.createNewFile();
FileOutputStream stream = new FileOutputStream(file);
genImage(indents, hasChildren, lineColor, stream);
if (outputTracker!=null)