diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index af2e9242..70b755d6 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -9,3 +9,6 @@ f93a6966c771e973e2a474ea36ffbb922291538f # Scala Steward: Reformat with scalafmt 3.8.0 9d77140a626bfd51a513e1f2a926cc9ce73f3461 + +# Scala Steward: Reformat with scalafmt 3.9.7 +3bc9cb6d43b96ab4a8ad4cd46c06c5a8b2a44368 diff --git a/.scalafmt.conf b/.scalafmt.conf index 2d8a7304..e944501b 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.9.2 +version = 3.9.7 runner.dialect = scala213source3 style = defaultWithAlign diff --git a/clientNode/src/main/scala/Auth.scala b/clientNode/src/main/scala/Auth.scala index 51fc4f33..deaf99e7 100644 --- a/clientNode/src/main/scala/Auth.scala +++ b/clientNode/src/main/scala/Auth.scala @@ -121,9 +121,10 @@ class Auth(val auth: AuthAppConfig, appName: String, credentialsFileName: String } .replayLatest .unsafeHot() - .recover { case t => // TODO: why does the recover need to be behind hot? colibri? - println("Error in user handling: " + t) - None + .recover { + case t => // TODO: why does the recover need to be behind hot? colibri? + println("Error in user handling: " + t) + None } private def loginToCognito(username: String, password: String): IO[InitiateAuthResponse] = IO diff --git a/clientWeb/src/main/scala/Auth.scala b/clientWeb/src/main/scala/Auth.scala index 391ebec7..875cacf4 100644 --- a/clientWeb/src/main/scala/Auth.scala +++ b/clientWeb/src/main/scala/Auth.scala @@ -185,9 +185,10 @@ class Auth(val auth: AuthAppConfig, website: WebsiteAppConfig) extends funstack. } .replayLatest .unsafeHot() - .recover { case t => // TODO: why does the recover need to be behind hot? colibri? - dom.console.error("Error in user handling: " + t) - cleanupLocalStorage() - None + .recover { + case t => // TODO: why does the recover need to be behind hot? colibri? + dom.console.error("Error in user handling: " + t) + cleanupLocalStorage() + None } }