Skip to content

Commit

Permalink
Merge pull request #5850 from gastaldi/fix
Browse files Browse the repository at this point in the history
Fix compilation error
  • Loading branch information
stuartwdouglas authored Nov 28, 2019
2 parents 408e84f + d22f0dd commit 7415798
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ private void createReadme() throws IOException {
BuildTool buildTool = getBuildTool();
switch (buildTool) {
case MAVEN:
generate("templates/README.maven.ftl", context, readme, "read me");
generate("templates/README.maven.ftl", invocation, readme,"read me");
break;
case GRADLE:
generate("templates/README.gradle.ftl", context, readme, "read me");
generate("templates/README.gradle.ftl", invocation, readme, "read me");
break;
default:
throw new IllegalStateException("buildTool is none of Maven or Gradle");
Expand Down

0 comments on commit 7415798

Please sign in to comment.