mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[IFT] Fix error in restore logic
IDEA-CR-69975 GitOrigin-RevId: cdc514066441cb39e0807f4a5e9a2e74b57280e5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
71198d562e
commit
59013f4bda
@@ -299,7 +299,7 @@ class LessonExecutor(val lesson: KLesson, val project: Project, initialEditor: E
|
||||
private fun isTaskCompleted(taskContext: TaskContextImpl) = taskContext.steps.all { it.isDone && it.get() }
|
||||
|
||||
private fun canBeRestored(taskContext: TaskContextImpl): Boolean {
|
||||
return !hasBeenStopped && taskContext.steps.all { !it.isCancelled && !it.isCompletedExceptionally && (!it.isDone || !it.get()) }
|
||||
return !hasBeenStopped && taskContext.steps.any { !it.isCancelled && !it.isCompletedExceptionally && (!it.isDone || !it.get()) }
|
||||
}
|
||||
|
||||
private fun processTestActions(taskContext: TaskContextImpl) {
|
||||
|
||||
Reference in New Issue
Block a user