mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-08 00:49:21 +08:00
修复path错误
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user