Skip to content

Commit ce1ff7e

Browse files
committed
Reformat with scalafmt 3.11.1
Executed command: scalafmt --non-interactive
1 parent 4a2e1e2 commit ce1ff7e

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

bifunctor-tagless/js/src/main/scala/leaderboard/sim/SimulationMain.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ object SimulationMain {
6767
// the page. We never finalize — the in-memory dummy state should live as
6868
// long as the JS module is loaded.
6969
val program: G[Nothing] =
70-
Injector.NoProxies[G]()
70+
Injector
71+
.NoProxies[G]()
7172
// `Roots.Everything` instead of `Roots.target[LocalDispatcher]` because
7273
// `LeaderboardCoreModule.api` adds `LadderApi`/`ProfileApi` to the
7374
// `Set[HttpApi[F]]` as *weak* references — they only join the set if

bifunctor-tagless/shared/src/main/scala/leaderboard/dispatch/LocalDispatcher.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ object LocalDispatcher {
3737
method = Method.fromString(method).getOrElse(Method.GET),
3838
uri = Uri.unsafeFromString(path),
3939
).withEntity(body)
40-
httpApp.run(req).flatMap { resp =>
41-
resp.as[String].map(text => Response(resp.status.code, text))
40+
httpApp.run(req).flatMap {
41+
resp =>
42+
resp.as[String].map(text => Response(resp.status.code, text))
4243
}
4344
}
4445
}

0 commit comments

Comments
 (0)