Skip to content

Commit

Permalink
Add fix for missing license year datatypes.bal
Browse files Browse the repository at this point in the history
  • Loading branch information
AnjanaSenanayake committed Dec 7, 2023
1 parent e61e5e6 commit 39ad8d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void generate(ToolContext toolContext, Map<String, Object> generatorPrope
List<String> importList = Collections.singletonList(packageTemplateContext.getBasePackageName());
TemplateContext templateContext = this.getNewTemplateContext();
templateContext.setProperty("util", GeneratorUtils.getInstance());
templateContext.setProperty("licenseYear", ToolConstants.LICENSE_YEAR);
templateContext.setProperty("datatypeContext", datatypeContexts);
templateContext.setProperty("imports", importList);

Expand Down

0 comments on commit 39ad8d7

Please sign in to comment.