Fix template comments

parent 5ac61e82
Pipeline #176816 passed with stages
in 33 minutes
......@@ -19,7 +19,7 @@ public class TemplateHelper {
String resourceFileName = "/de/monticore/lang/monticar/generator/middleware/templates/" + fileName;
try {
tmpStr = IOUtils.toString(TemplateHelper.class.getResourceAsStream(resourceFileName));
tmpStr = IOUtils.toString(TemplateHelper.class.getResourceAsStream(resourceFileName)).replaceAll("<#--[^>]*-->", "");
} catch (Exception e) {
//Not recoverable
Log.error("Template file not found: " + resourceFileName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment