mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
java.lang.IllegalStateException: element.parent must not be null
This commit is contained in:
@@ -700,7 +700,7 @@ object PyTestsConfigurationProducer : com.jetbrains.python.testing.AbstractPytho
|
||||
}
|
||||
}
|
||||
}
|
||||
element = element.parent
|
||||
element = element.parent ?: break
|
||||
}
|
||||
while (element !is com.intellij.psi.PsiDirectory) // if parent is folder, then we are at file level
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user