We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bdd689 + a6265a1 commit cc17d24Copy full SHA for cc17d24
src/com/magento/idea/magento2plugin/indexes/ModuleIndex.java
@@ -121,7 +121,7 @@ private List<String> getNames(
121
* @return PsiDirectory
122
*/
123
public @Nullable PsiDirectory getModuleDirectoryByModuleName(final String moduleName) {
124
- if (DumbService.getInstance(project).isDumb()) {
+ if (DumbService.getInstance(project).isDumb() || moduleName == null) {
125
return null;
126
}
127
final FileBasedIndex index = FileBasedIndex
0 commit comments