We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b067af9 commit 43efb96Copy full SHA for 43efb96
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