diff options
Diffstat (limited to 'platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java')
-rw-r--r-- | platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java b/platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java index 37fd23da6741..0c46f14b98e0 100644 --- a/platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java +++ b/platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java @@ -762,7 +762,7 @@ public class PlatformTestUtil { public static String getCommunityPath() { final String homePath = PathManager.getHomePath(); - if (new File(homePath, "community").exists()) { + if (new File(homePath, "community/.idea").isDirectory()) { return homePath + File.separatorChar + "community"; } return homePath; |