Skip to content

Commit

Permalink
Update scalafmt-core to 3.8.6 (#938)
Browse files Browse the repository at this point in the history
* Update scalafmt-core to 3.8.6

* Reformat with scalafmt 3.8.6

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.8.6' to .git-blame-ignore-revs
  • Loading branch information
scala-steward authored Feb 4, 2025
1 parent c67fac0 commit 75c0721
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ a808c74fcf8f3c9efaadeda757ff48bd510162dc

# Scala Steward: Reformat with scalafmt 3.8.0
372c1814bdc553c7e91062fa1332e1a59a0452d1

# Scala Steward: Reformat with scalafmt 3.8.6
873e62ace9952b8fc8654af0a3665aaaf3b69187
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.8.3"
version = "3.8.6"
maxColumn = 120
align.preset = most
continuationIndent.defnSite = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ object TracingTest extends ZIOSpecDefault {
exporter -> OTracing.getTracer
}

val exporterTracerLayer: ULayer[Ref[List[SpanData]] with Tracer] = ZLayer.fromZIOEnvironment(exporterTracer.map {
case (exporter, tracer) =>
val exporterTracerLayer: ULayer[Ref[List[SpanData]] with Tracer] =
ZLayer.fromZIOEnvironment(exporterTracer.map { case (exporter, tracer) =>
ZEnvironment(exporter).add(tracer)
})
})

val customLayer: ULayer[Ref[List[SpanData]] with Tracer with Tracing] =
exporterTracerLayer ++ (exporterTracerLayer >>> Tracing.live)
Expand Down

0 comments on commit 75c0721

Please sign in to comment.