Browse Source

REPORT-10077 报错模版新建文件夹失败

final/10.0
rinoux 7 years ago
parent
commit
24020286d2
  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