mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
cosmetics usage of .idea
This commit is contained in:
@@ -97,7 +97,7 @@ public class CCCreateCourseArchive extends DumbAwareAction {
|
||||
for (VirtualFile child : baseDir.getChildren()) {
|
||||
String name = child.getName();
|
||||
File fromFile = new File(child.getPath());
|
||||
if (CCUtils.GENERATED_FILES_FOLDER.equals(name) || ".idea".equals(name)
|
||||
if (CCUtils.GENERATED_FILES_FOLDER.equals(name) || Project.DIRECTORY_STORE_FOLDER.equals(name)
|
||||
|| name.contains("iml") || manager.doNotPackFile(fromFile)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ public class StepicWrappers {
|
||||
ApplicationManager.getApplication().runWriteAction(() -> {
|
||||
final VirtualFile taskDir = task.getTaskDir(project);
|
||||
assert taskDir != null;
|
||||
VirtualFile ideaDir = project.getBaseDir().findChild(".idea");
|
||||
VirtualFile ideaDir = project.getBaseDir().findChild(Project.DIRECTORY_STORE_FOLDER);
|
||||
assert ideaDir != null;
|
||||
String stepic = "stepic";
|
||||
VirtualFile stepicDir = ideaDir.findChild(stepic);
|
||||
|
||||
Reference in New Issue
Block a user