[github] Fix changes not loading (IJPL-176927)

#IJPL-176927 Fixed

Turns out: we all make boolean logic errors every once in a while, no exceptions.

follow-up: f449ea4351689c3dac3b0ea23327addc30e25c1e
(cherry picked from commit 9ab72e969a704fa346e76c69d14cfba068bde0ee)

GitOrigin-RevId: 9088f5bdac7aa091d4abe89ae480c9fe7a526739
This commit is contained in:
Chris Lemaire
2025-02-05 14:49:41 +01:00
committed by intellij-monorepo-bot
parent b2681c056c
commit 5ca629ce0b

View File

@@ -144,7 +144,7 @@ private fun sortCommits(commits: Collection<GHCommit>, lastCommitSha: String): L
val processedCommits = mutableSetOf<String>()
fun ImmutableGraph.Builder<GHCommit>.addCommits(commit: GHCommit) {
val alreadyProcessed = processedCommits.add(commit.oid)
val alreadyProcessed = !processedCommits.add(commit.oid)
if (alreadyProcessed) return
addNode(commit)
for (parent in commit.parents) {