mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Optimization: check exiting of griffon-app first
This commit is contained in:
@@ -36,7 +36,6 @@ import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.openapi.vcs.changes.ChangeListManager;
|
||||
import com.intellij.openapi.vcs.changes.IgnoredBeanFactory;
|
||||
import com.intellij.openapi.vfs.JarFileSystem;
|
||||
import com.intellij.openapi.vfs.VfsUtil;
|
||||
import com.intellij.openapi.vfs.VfsUtilCore;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
@@ -76,7 +75,7 @@ public class GriffonFramework extends MvcFramework {
|
||||
}
|
||||
|
||||
public boolean hasSupport(@NotNull Module module) {
|
||||
return getSdkRoot(module) != null && findAppRoot(module) != null && !isAuxModule(module);
|
||||
return findAppRoot(module) != null && !isAuxModule(module) && getSdkRoot(module) != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user