Skip to content

Commit

Permalink
fix template dir path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
Fadelis committed Oct 18, 2021
1 parent a02b16a commit a7570cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class OptionalGenerator extends Generator {
private static final String DELIMITER = "\n";
private static final String JAVA_EXTENSION = ".java";
private static final String DIR_SEPARATOR = java.io.File.separator;
private static final String TEMPLATES_DIRECTORY = "templates" + DIR_SEPARATOR;
private static final String TEMPLATES_DIRECTORY = "templates/";
private static final String METHOD_NAME = "javaMethodName";
private static final String FIELD_TYPE = "javaFieldType";
private static final String OPTIONAL_CLASS = "optionalClass";
Expand Down

0 comments on commit a7570cc

Please sign in to comment.