We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 677c15c commit 53c3b3fCopy full SHA for 53c3b3f
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/UtTestsDialogProcessor.kt
@@ -108,6 +108,9 @@ object UtTestsDialogProcessor {
108
*model.srcClasses.map { it.containingFile.virtualFile }.toTypedArray()
109
)
110
promise.onSuccess {
111
+ if (it.hasErrors() || it.isAborted)
112
+ return@onSuccess
113
+
114
(object : Task.Backgroundable(project, "Generate tests") {
115
116
override fun run(indicator: ProgressIndicator) {
0 commit comments