Skip to content

Commit

Permalink
chore(model): Remove a superfluous conversion via let
Browse files Browse the repository at this point in the history
The result already is a pair of lists. This is a fixup for 933c7b6.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Mar 27, 2024
1 parent ad24746 commit 4003eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/src/main/kotlin/utils/ConfigurationResolver.kt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object ConfigurationResolver {

val (applicableCurations, nonApplicableCurations) = curations.partition { curation ->
packages.any { pkg -> curation.isApplicable(pkg.id) }
}.let { it.first to it.second }
}

if (nonApplicableCurations.isNotEmpty()) {
logger.warn {
Expand Down

0 comments on commit 4003eae

Please sign in to comment.