[FEAT] create sub-directories
This commit is contained in:
parent
6104b68a02
commit
8ffa392b2a
@ -425,7 +425,7 @@ public class TsClassElement {
|
||||
}
|
||||
final Path path = Paths.get(pathPackage + File.separator + "model");
|
||||
if (Files.notExists(path)) {
|
||||
Files.createDirectory(path);
|
||||
Files.createDirectories(path);
|
||||
}
|
||||
final FileWriter myWriter = new FileWriter(
|
||||
pathPackage + File.separator + "model" + File.separator + this.fileName + ".ts");
|
||||
|
Loading…
x
Reference in New Issue
Block a user