Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Jul 11, 2024
1 parent 4f36189 commit f8206a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ object FallbackTags {
val tagOption = getOption(plan)
val newTagOption = converter.from(t)

val mergedTagOption
: Option[FallbackTag] = // New tag comes while the plan was already tagged, merge.
val mergedTagOption: Option[FallbackTag] =
(tagOption ++ newTagOption).reduceOption {
// New tag comes while the plan was already tagged, merge.
case (_, exclusive: FallbackTag.Exclusive) =>
exclusive
case (exclusive: FallbackTag.Exclusive, _) =>
Expand Down

0 comments on commit f8206a4

Please sign in to comment.