From e02926c61f7d30ed8cf1198ee8a70ccae8a61fd7 Mon Sep 17 00:00:00 2001 From: Scala Steward <43047562+scala-steward@users.noreply.github.com> Date: Mon, 7 Feb 2022 17:19:47 +0100 Subject: [PATCH] Update scalafmt-core to 3.4.2 (#1316) * Update scalafmt-core to 3.4.2 * Reformat with scalafmt 3.4.2 --- .scalafmt.conf | 2 +- app/models/Event.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 3f3ec55cd..15ed7d510 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = "3.3.3" +version = "3.4.2" runner.dialect = scala213 maxColumn = 100 spaces.afterKeywordBeforeParen = true diff --git a/app/models/Event.scala b/app/models/Event.scala index 7c42ab374..7926b4c8c 100644 --- a/app/models/Event.scala +++ b/app/models/Event.scala @@ -21,7 +21,7 @@ case class Event( val stripChars = "\"<>'" s"${Area.fromId(area).map(_.name).getOrElse("")} $level $code ${fromUserName.filterNot(stripChars contains _)} " + s"${description.filterNot(stripChars contains _)} $ipAddress $id $fromUserId ${toApplicationId - .getOrElse("")} ${toUserId.getOrElse("")}" + .getOrElse("")} ${toUserId.getOrElse("")}" } }