提交 26d779a5 编写于 作者: S Serge Rider

#6968 Project metadata folder create on demand (fix).


Former-commit-id: de84099c
上级 0350d42e
...@@ -151,8 +151,6 @@ public class ProjectMetadata implements DBPProject { ...@@ -151,8 +151,6 @@ public class ProjectMetadata implements DBPProject {
format = ProjectFormat.MODERN; format = ProjectFormat.MODERN;
} }
getMetadataFolder(true);
// Check project structure and migrate // Check project structure and migrate
checkAndUpdateProjectStructure(); checkAndUpdateProjectStructure();
} }
...@@ -369,6 +367,7 @@ public class ProjectMetadata implements DBPProject { ...@@ -369,6 +367,7 @@ public class ProjectMetadata implements DBPProject {
// Nothing to save and metadata file doesn't exist // Nothing to save and metadata file doesn't exist
return; return;
} }
getMetadataFolder(true);
try { try {
IOUtils.makeFileBackup(mdFile); IOUtils.makeFileBackup(mdFile);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册