Skip to content

Commit

Permalink
Update ConditionProcessor.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed Nov 21, 2022
1 parent dc94729 commit b55c494
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ internal class OperatorConditionProcessor : ConditionProcessor {
val descriptor = VersionDescriptor(major, minor, patch, preRelease, buildMetadata)
operatorConditionBuilders.forEach { builder ->
if (operator in builder.acceptedOperators) {
return builder.buildComparator(operator, VersionDescriptor(major, minor, patch, preRelease, buildMetadata))
return builder.buildComparator(
operator,
VersionDescriptor(major, minor, patch, preRelease, buildMetadata)
)
}
}
throw ConstraintFormatException(
Expand Down

0 comments on commit b55c494

Please sign in to comment.