Skip to content

Commit

Permalink
Fix install and update task mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
eschleb committed Oct 23, 2024
1 parent 090a8ad commit 9d3569b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ private Delta getInstallAndUpdateTasksDelta(final InstallContext installContext,

return DeltaBuilder.install(forVersion, "setup-task install and update").addTasks(Stream.of(
isInstall ? getInstallTasks(installContext, forVersion) : Stream.<Task>empty(),
isUpdate ? getInstallAndUpdateTasks(installContext, forVersion, null) : Stream.<Task>empty(),
(isInstall || isUpdate)? getUpdateTasks(installContext, forVersion, versionFrom) : Stream.<Task>empty()
isUpdate ? getUpdateTasks(installContext, forVersion, versionFrom) : Stream.<Task>empty(),
(isInstall || isUpdate)? getInstallAndUpdateTasks(installContext, forVersion, versionFrom) : Stream.<Task>empty()
).flatMap(Function.identity()).sorted(new DepdendsOnComparator()).toList());
}

Expand Down

0 comments on commit 9d3569b

Please sign in to comment.