Browse Source

Merge pull request #273 in DESIGN/design from ~RINOUX/design:release/10.0 to release/10.0

* commit '24020286d238a0bb560b5cd5fdaa1481f9d093ee':
  REPORT-10077 报错模版新建文件夹失败
final/10.0
rinoux 6 years ago
parent
commit
23e89f7446
  1. 2
      designer-base/src/main/java/com/fr/file/FileNodeFILE.java

2
designer-base/src/main/java/com/fr/file/FileNodeFILE.java

@ -219,7 +219,7 @@ public class FileNodeFILE implements FILE {
}
try {
return WorkContext.getWorkResource().createFile(StableUtils.pathJoin(node.getEnvPath(), name));
return WorkContext.getWorkResource().createDirectory(StableUtils.pathJoin(node.getEnvPath(), name));
} catch (Exception e) {
FineLoggerFactory.getLogger().error(e.getMessage(), e);
return false;

Loading…
Cancel
Save