corrected 'isCommunity' check

This commit is contained in:
nik
2014-07-14 21:02:17 +04:00
parent 08b3c7f76f
commit f372b95c22
@@ -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;