mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 09:03:31 +07:00
corrected 'isCommunity' check
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user