From 70a339f11edb1024508f1b24aa9203e2ef6cd876 Mon Sep 17 00:00:00 2001 From: Konstantin Hudyakov Date: Wed, 23 Oct 2024 18:48:20 +0300 Subject: [PATCH] IJOB-574 Fix stuck in Git Project History lesson The `toString` method result of the node was changed in the implementation. GitOrigin-RevId: add04d32d06998a9a357e305340a7507c3d9dceb --- .../src/training/git/lesson/GitProjectHistoryLesson.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git-features-trainer/src/training/git/lesson/GitProjectHistoryLesson.kt b/plugins/git-features-trainer/src/training/git/lesson/GitProjectHistoryLesson.kt index 67c7f419e216..1f0644287520 100644 --- a/plugins/git-features-trainer/src/training/git/lesson/GitProjectHistoryLesson.kt +++ b/plugins/git-features-trainer/src/training/git/lesson/GitProjectHistoryLesson.kt @@ -78,7 +78,7 @@ class GitProjectHistoryLesson : GitLesson("Git.ProjectHistory", GitLessonsBundle task { var selectionCleared = false triggerAndBorderHighlight().treeItem { tree, path -> - (path.pathCount > 1 && path.getPathComponent(1).toString() == "HEAD_NODE").also { + (path.pathCount > 1 && path.getPathComponent(1).toString() == "HEAD").also { if (!selectionCleared) { tree.clearSelection() selectionCleared = true