mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix tests: improved 'isInCommunity' check
This commit is contained in:
@@ -424,7 +424,7 @@ public class PathManagerEx {
|
||||
* @return project type implied by its file system location
|
||||
*/
|
||||
private static FileSystemLocation parseProjectLocation() {
|
||||
return new File(PathManager.getHomePath(), "community").isDirectory() ? FileSystemLocation.ULTIMATE : FileSystemLocation.COMMUNITY;
|
||||
return new File(PathManager.getHomePath(), "community/.idea").isDirectory() ? FileSystemLocation.ULTIMATE : FileSystemLocation.COMMUNITY;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user