cosmetics usage of .idea

This commit is contained in:
Ekaterina Tuzova
2016-12-07 18:16:37 +03:00
parent 25b00a7c42
commit b8fc74cedb
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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);