修复path错误

This commit is contained in:
zhouhao
2018-07-30 12:09:29 +08:00
parent 171403c28c
commit 30ecea0a14

View File

@@ -22,7 +22,7 @@ public class DefaultCodeWriter implements CodeWriter {
file.mkdir();
String type = code.getType();
String filePath = code.getFile();
String filePath = path + "/" + code.getFile();
if ("dir".equals(type)) {
code.getChildren()
.forEach(childrenCode -> writeCode(filePath, childrenCode));