Skip to content

Commit

Permalink
fix codacy complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
esarbe committed Jan 22, 2024
1 parent 223a412 commit 4682324
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ujson/shared/src/main/scala/diffson/ujson/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ package object ujson {

implicit val pointerDecoder: Reader[Pointer] =
implicitly[Reader[String]].map { str =>
import cats.implicits._
Pointer.parse[Try](str).get
Pointer.parse[Try](str).fold(throw _, identity)
}

private val operationAsJson: Operation[Value] => Value = {
Expand Down

0 comments on commit 4682324

Please sign in to comment.