Skip to content

Commit bf54d4b

Browse files
committed
Bug fixed
1 parent 2df2a03 commit bf54d4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/actions/GenerateTestsAction.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ class GenerateTestsAction : AnAction(), UpdateInBackground {
168168
private fun PsiClass.isInvalid(withWarnings: Boolean): Boolean {
169169
if (this.module?.let { findSdkVersionOrNull(it) } == null) {
170170
if (withWarnings) InvalidClassNotifier.notify("class out of module with defined sdk")
171+
return true
171172
}
172173

173174
val isAbstractOrInterface = this.isInterface || this.isAbstract

0 commit comments

Comments
 (0)