fix tests: improved 'isInCommunity' check

This commit is contained in:
nik
2014-07-14 14:17:06 +04:00
parent bcb38e5db5
commit cf1f8c839f
@@ -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;
}
/**