diff --git a/web/src/main/scala/coursier/web/Backend.scala b/web/src/main/scala/coursier/web/Backend.scala index c1b0ad081..b41b95161 100644 --- a/web/src/main/scala/coursier/web/Backend.scala +++ b/web/src/main/scala/coursier/web/Backend.scala @@ -103,13 +103,13 @@ class Backend($: BackendScope[Unit, State]) { val logger: Logger = new Logger { def fetched(url: String) = { - println(s"Fetching $url") - $.modState(s => s.copy(log = s"Fetching $url" +: s.log)) - } - def fetching(url: String) = { println(s"Fetched $url") $.modState(s => s.copy(log = s"Fetched $url" +: s.log)) } + def fetching(url: String) = { + println(s"Fetching $url") + $.modState(s => s.copy(log = s"Fetching $url" +: s.log)) + } def other(url: String, msg: String) = { println(s"$url: $msg") $.modState(s => s.copy(log = s"$url: $msg" +: s.log))