IDEA-172668 buildSrc module keeps reappearing

This commit is contained in:
Vladislav.Soroka
2017-05-10 17:24:56 +03:00
parent a569683f13
commit 78d74a7ca8
@@ -835,7 +835,8 @@ public class GradleProjectResolver implements ExternalSystemProjectResolver<Grad
@NotNull final ProjectConnectionDataNodeFunction projectConnectionDataNodeFunction) {
final String projectPath = projectConnectionDataNodeFunction.myResolverContext.getProjectPath();
if (!new File(projectPath).isDirectory()) {
File projectPathFile = new File(projectPath);
if (!projectPathFile.isDirectory() || ArrayUtil.isEmpty(projectPathFile.list())) {
return;
}