diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000..713caf6 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with scalafmt 3.8.4 +61994fc63c6b335e440e2a8c98676db376a30c03 diff --git a/.scalafmt.conf b/.scalafmt.conf index ecd0641..21ddd26 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -9,7 +9,7 @@ docstrings.style = keep includeCurlyBraceInSelectChains = false optIn.breakChainOnFirstMethodDot = false trailingCommas = preserve -version = "3.8.3" +version = "3.8.4" project.layout = StandardConvention rewrite.scala3.convertToNewSyntax = true fileOverride { diff --git a/macros/src/main/scala-3/scalapb_circe/ProtoMacrosCirce.scala b/macros/src/main/scala-3/scalapb_circe/ProtoMacrosCirce.scala index 9c7dc30..1fead41 100644 --- a/macros/src/main/scala-3/scalapb_circe/ProtoMacrosCirce.scala +++ b/macros/src/main/scala-3/scalapb_circe/ProtoMacrosCirce.scala @@ -34,8 +34,7 @@ object ProtoMacrosCirce { def apply(j: Json)(using Quotes) = j.foldWith[Expr[Json]](new Json.Folder[Expr[Json]] { override def onNull = '{ Json.Null } override def onBoolean(value: Boolean) = { - if (value) '{ Json.True } - else '{ Json.False } + if (value) '{ Json.True } else '{ Json.False } } override def onNumber(value: JsonNumber) = '{ Json.fromJsonNumber(${ summon[ToExpr[JsonNumber]].apply(value) }) }