Skip to content

Commit

Permalink
Add wartremover warning suppression for false positive in Availabilit…
Browse files Browse the repository at this point in the history
…ies.scala
  • Loading branch information
Jonas Chapuis authored and jchapuis committed Oct 10, 2024
1 parent a81cfbb commit a975842
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import java.time.Instant
import scala.concurrent.duration.*

trait Availabilities {
@SuppressWarnings(Array("org.wartremover.warts.ToString"))
implicit def alwaysAvailable[F[_]: Logger: Monad: Async]: AvailabilityAlg[F] =
(time: Instant, passengerCount: Int) =>
Logger[F].info(
Expand Down

0 comments on commit a975842

Please sign in to comment.