Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Jul 3, 2024
1 parent 3d7fdd5 commit 84f6935
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,6 @@ object FallbackTag {
override def from(reason: String): Option[FallbackTag] = Some(Appendable(reason))
}

implicit object FromStringOption extends Converter[Option[String]] {
override def from(reason: Option[String]): Option[FallbackTag] = {
reason match {
case Some(r) => Some(Appendable(r))
case None => Some(Appendable("Unknown fallback reason"))
}
}
}

implicit object FromValidationResult extends Converter[ValidationResult] {
override def from(result: ValidationResult): Option[FallbackTag] = {
if (result.ok()) {
Expand Down

0 comments on commit 84f6935

Please sign in to comment.